diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-09-01 11:15:34 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-09-01 11:35:34 +0200 |
commit | 195eca94d4dc98ee4b8aff4ad70b6e9e1042d88e (patch) | |
tree | 8b13bba4378a42d0f3d70c1a6628894f769e7017 | |
parent | 9762c5e3406cab8152d8dd161c0178965d841676 (diff) | |
download | rneovim-195eca94d4dc98ee4b8aff4ad70b6e9e1042d88e.tar.gz rneovim-195eca94d4dc98ee4b8aff4ad70b6e9e1042d88e.tar.bz2 rneovim-195eca94d4dc98ee4b8aff4ad70b6e9e1042d88e.zip |
vim-patch:9abd02d: runtime(nu): include filetype plugin
This is used to set the commentstring option.
closes: vim/vim#15601
https://github.com/vim/vim/commit/9abd02d16ad08e61729fe08d909c87915239affb
Co-authored-by: Marc Jakobi <marc.jakobi@tiko.energy>
-rw-r--r-- | runtime/ftplugin/nu.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/ftplugin/nu.vim b/runtime/ftplugin/nu.vim new file mode 100644 index 0000000000..9efbc3b099 --- /dev/null +++ b/runtime/ftplugin/nu.vim @@ -0,0 +1,13 @@ +" Vim filetype plugin +" Language: Nu +" Maintainer: Marc Jakobi <marc@jakobi.dev> +" Last Change: 2024 Aug 31 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setlocal commentstring=#\ %s + +let b:undo_ftplugin = 'setl com<' |