Skip to content

Instantly share code, notes, and snippets.

@solak
Created April 16, 2014 09:45
Show Gist options
  • Save solak/10843156 to your computer and use it in GitHub Desktop.
Save solak/10843156 to your computer and use it in GitHub Desktop.
" folding settings
set foldtext='➫'
highlight Folded gui=none guibg=#002b36
highlight FoldColumn gui=none
autocmd FileType ruby,eruby
\ set foldmethod=expr |
\ set foldexpr=getline(v:lnum)=~'^\\s*#'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment