t9md / atom-vim-mode-plus

vim-mode improved
https://atom.io/packages/vim-mode-plus
MIT License
1.4k stars 112 forks source link

Folds don't work #876

Closed srustamo closed 7 years ago

srustamo commented 7 years ago

Check list

I can't get any of the fold commands work. No other packages are user packages are installed, and it is a fresh Atom install with vim-mode-plus package as the only user package.

srustamo commented 7 years ago

In fact, the only z commands that work are zz, zt,zb, z Enter

srustamo commented 7 years ago

A bit more of investigation: folding works in an .xml file but does not work in a .h header file. Is this expected behaviour? If yes, is there a list of file types where folding works?

srustamo commented 7 years ago

It looks like folding works only in white space indented files.

t9md commented 7 years ago

Fold manipuration works as long as atom create fold for that editor. Atom create fold indent based. Vim-mode-plus NOT aware of range of fold, Atom knows. You can see fold by hovering your mouse to gutter on leftside of editor.

srustamo commented 7 years ago

Thank you.