From 195eca94d4dc98ee4b8aff4ad70b6e9e1042d88e Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sun, 1 Sep 2024 11:15:34 +0200 Subject: [PATCH] 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 --- runtime/ftplugin/nu.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 runtime/ftplugin/nu.vim 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 +" 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<'