masukomi / vim-markdown-folding

Fold markdown documents by section.
248 stars 43 forks source link

:FoldToggle folding not working #17

Closed pdoak closed 5 years ago

pdoak commented 9 years ago

For some reason markdown folding is not working. I have installed the plugin bundle via bundle but my markdown file does not fold. I have the following plugins installed:

vim-flavored-markdown; vim-markdown-preview vim-marked; and vim-markdown-folding

Could these be conflicting in some way?

Many Thanks

Paul

nelstrom commented 9 years ago

Could you edit your comment to make those plugin names link to their source on github?

pdoak commented 9 years ago

I have managed to get folding working now - I think there was a problem with my .vimrc. The only thing that does not seem to work is if I try :FoldToggle, it does not revert to hierarchical folding - nothing seems to change. Do you know what could be affecting that?

Many Thanks

Paul

nelstrom commented 9 years ago

Thanks for link-ifying those plugin names. I've renamed this issue.

ronubi commented 8 years ago

Not working for me after updating Mac to El Capitan.

ronubi commented 8 years ago

I came up with a hack to get markdown folding working again. Previously I used the following:

alias vimd='vim +set\ number +FoldToggle'

It seems that the folding.vim plugin wasn't being run anymore. So I changed the alias to:

alias vimd='vim +set\ number +source\ ~/.vim/bundle/vim-markdown-folding/after/ftplugin/markdown/folding.vim +FoldToggle'

This explicitly runs the plugin.

masukomi commented 5 years ago

Closing this for now because FoldToggle does work with a default config of this in the current version.

My current thinking is that this was probably something specific to @ronubi 's particular configuration.

Please reopen the issue if you can reproduce with more details about what specific interactions are causing the problem.

flimbo commented 5 years ago

Also conflict with well known plugin itchyny/lightline.vim This plugin has to be added after vim-markdown-folding otherwise vim-markdown not working. ------- Vundle config Plugin 'masukomi/vim-markdown-folding' Plugin 'itchyny/lightline.vim'