neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit b3cb0f6beacb69a4399b2e22ce3464602c6cd1bb
parent 15aa27bc1f999adac3f4d69742ca31992fb5f837
Author: Christian Clason <c.clason@uni-graz.at>
Date:   Sun, 13 Oct 2024 19:29:43 +0200

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>

Diffstat:
Aruntime/ftplugin/gleam.vim | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/runtime/ftplugin/gleam.vim 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