diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-10-13 19:29:43 +0200 |
---|---|---|
committer | Christian Clason <ch.clason+github@icloud.com> | 2024-10-14 08:27:48 +0200 |
commit | b3cb0f6beacb69a4399b2e22ce3464602c6cd1bb (patch) | |
tree | 52d5b0b1c47a9ea64f4cb0d9daca568d9f42a496 | |
parent | 15aa27bc1f999adac3f4d69742ca31992fb5f837 (diff) | |
download | rneovim-b3cb0f6beacb69a4399b2e22ce3464602c6cd1bb.tar.gz rneovim-b3cb0f6beacb69a4399b2e22ce3464602c6cd1bb.tar.bz2 rneovim-b3cb0f6beacb69a4399b2e22ce3464602c6cd1bb.zip |
vim-patch:6e91853: runtime(gleam): add ftplugin for gleam files
fixes: vim/vim#15864
closes: vim/vim#15866
https://github.com/vim/vim/commit/6e918538b117c8c0b87a3d30300e8bbd073d652c
Co-authored-by: Trilowy <49493635+trilowy@users.noreply.github.com>
-rw-r--r-- | runtime/ftplugin/gleam.vim | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/ftplugin/gleam.vim b/runtime/ftplugin/gleam.vim new file mode 100644 index 0000000000..9ed607c4b3 --- /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 |