diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-08-17 11:38:50 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-08-17 13:03:13 +0200 |
commit | 77380e1601ad72b7cc9466ef3408946ab2c79344 (patch) | |
tree | a0b6aa7607d6fcf2efd0fc1723c441b88fbc14c3 /test/functional/ui/float_spec.lua | |
parent | 550ddef36637803ad51c4ba84efaa26c600a1c44 (diff) | |
download | rneovim-77380e1601ad72b7cc9466ef3408946ab2c79344.tar.gz rneovim-77380e1601ad72b7cc9466ef3408946ab2c79344.tar.bz2 rneovim-77380e1601ad72b7cc9466ef3408946ab2c79344.zip |
vim-patch:c6ed816: runtime(yaml): do not re-indent when commenting out lines
It's a personal annoyance for me. I have to edit yaml files on a lot of
customer environments and whenever you type '#' at the start of the
line, the commented line will be indented by whatever indent the
previous line had.
I hate this seriously, because it makes un-commenting painful. So let's
fix this. But instead of messing with the indent function, let's just
remove the '0#' from cinkeys, so that Vim won't perform re-indenting
when commenting out such a yaml file.
closes: vim/vim#15494
https://github.com/vim/vim/commit/c6ed816761f44da92d8c61f5ea6cb7fdbb45fac5
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'test/functional/ui/float_spec.lua')
0 files changed, 0 insertions, 0 deletions