xolox/vim-easytags — Issue #20: Easytags strips folds from shell scripts
Author: deadite81
Created: 2011-10-29 07:47:43+00:00
State: open

Hi, thanks for the great extension. I have noticed a problem with folding.

I have syntax folding and Bash folding enabled in my .vimrc:

set foldmethod=syntax
let g:is_bash = 1
let g:sh_fold_enabled = 3

When I don't have Easytags syntax highlighting enabled the folds are correct:

http://i.imgur.com/aorit.png

When it is enabled after the first update (manual or automatic) all the folds disappear:

http://i.imgur.com/8P6pF.png

I'm brand new to Vim so don't really know how to go about diagnosing the problem further, but it doesn't seem to affect Ruby, which is the only other file type I tried.