runtime(gleam): add ftplugin for gleam files Commit: https://github.com/vim/vim/commit/6e918538b117c8c0b87a3d30300e8bbd073d652c Author: Trilowy <49493635+tril...@users.noreply.github.com> Date: Sun Oct 13 19:08:30 2024 +0200
runtime(gleam): add ftplugin for gleam files fixes: https://github.com/vim/vim/issues/15864 closes: https://github.com/vim/vim/issues/15866 Signed-off-by: Trilowy <49493635+tril...@users.noreply.github.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS index d352fdb6b..e4440a40e 100644 --- a/.github/MAINTAINERS +++ b/.github/MAINTAINERS @@ -163,6 +163,7 @@ runtime/ftplugin/gitconfig.vim @tpope runtime/ftplugin/gitignore.vim @ObserverOfTime runtime/ftplugin/gitrebase.vim @tpope runtime/ftplugin/gitsendemail.vim @tpope +runtime/ftplugin/gleam.vim @trilowy runtime/ftplugin/go.vim @dbarnett runtime/ftplugin/goaccess.vim @meonkeys runtime/ftplugin/gomod.vim @yu-yk diff --git a/runtime/ftplugin/gleam.vim b/runtime/ftplugin/gleam.vim new file mode 100644 index 000000000..9ed607c4b --- /dev/null +++ b/runtime/ftplugin/gleam.vim @@ -0,0 +1,16 @@ +" Vim filetype plugin file +" Language: Gleam +" Maintainer: Trilowy (https://github.com/trilowy) +" Last Change: 2024 Oct 13 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setlocal comments=://,:///,://// +setlocal commentstring=//\ %s + +let b:undo_ftplugin = "setlocal comments< commentstring<" + +" vim: sw=2 sts=2 et -- -- 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/E1t02BO-00EZhY-EY%40256bit.org.