When Vim using -folding and g:sh_fold_enabled was set to 1 or more, the warning message "g:sh_fold_enabled=0" was displayed.
Displaying a warning after initializing variables(g:sh_fold_enabled) can be confusing.
So we changed a warning before initializing variables.
#ifdef FEAT_NORMAL
//# define FEAT_FOLDING
#endif
./configure make -j4 sudo make install
Set "let g:sh_fold_enabled= 7" in .vimrc
Open the shell script (*.sh)
https://github.com/vim/vim/pull/17557
(1 file)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
thanks
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
I forgot to add a comment, thanks for correcting that. 🫂
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()