Skip to content

Instantly share code, notes, and snippets.

@c9s
Created September 19, 2012 07:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save c9s/3748167 to your computer and use it in GitHub Desktop.
Save c9s/3748167 to your computer and use it in GitHub Desktop.
fold options for perl
syntax on
filetype on
filetype plugin indent on
let perl_include_pod = 1
let perl_extended_vars = 0
let perl_want_scope_in_variables = 1
let perl_fold = 1
let perl_fold_blocks = 1
set foldenable
set vop=folds,cursor " view options
set fdc=2 " fdc: fold column
set fdn=2 " fdn: fold nest max
set fdl=3 " fdl: fold level
set foldmethod=syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment