As a local buffer option, 'foldcolumn'
is probably set by a filetype plugin, especially because its global default value is 0.
When the drop column appears, find out where it was set via :verbose setlocal foldcolumn?
. Then, for example, when ftplugin/cpp.vim
, you can put the following in ~/.vim/after/ftplugin/cpp.vim
:
:setlocal foldcolumn=0
The after directory allows you to override file-specific parameters without changing the original script.
source share