Closed BirgerNi closed 2 years ago
I think it is equally good to apply this in your own custom ftplugin, i.e. create ~/.config/nvim/ftplugin/markdown.vim
and add the desired config. I do this myself, e.g.:
https://github.com/lervag/dotnvim/blob/main/ftplugin/wiki.vim
I like to open wiki files with a specific fold level. The following command does job:
An option like
g:wiki_foldlevel
would be convenient. What do you think?