runtime(nu): include filetype plugin Commit: https://github.com/vim/vim/commit/9abd02d16ad08e61729fe08d909c87915239affb Author: Marc Jakobi <marc.jakobi@tiko.energy> Date: Sun Sep 1 09:21:16 2024 +0200
runtime(nu): include filetype plugin This is used to set the commentstring option. closes: #15601 Signed-off-by: Christian Brabandt <c...@256bit.org> Signed-off-by: Marc Jakobi <marc.jakobi@tiko.energy> diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS index 38ab30049..9c2923fc3 100644 --- a/.github/MAINTAINERS +++ b/.github/MAINTAINERS @@ -213,6 +213,7 @@ runtime/ftplugin/nginx.vim @chr4 runtime/ftplugin/nim.vim @ribru17 runtime/ftplugin/nroff.vim @a-vrma runtime/ftplugin/nsis.vim @k-takata +runtime/ftplugin/nu.vim @mrcjkb runtime/ftplugin/octave.vim @dkearns runtime/ftplugin/ondir.vim @jparise runtime/ftplugin/openvpn.vim @ObserverOfTime diff --git a/runtime/ftplugin/nu.vim b/runtime/ftplugin/nu.vim new file mode 100644 index 000000000..9efbc3b09 --- /dev/null +++ b/runtime/ftplugin/nu.vim @@ -0,0 +1,13 @@ +" Vim filetype plugin +" Language: Nu +" Maintainer: Marc Jakobi <m...@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<' -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1skf2G-0045pa-Cc%40256bit.org.