0
0
mirror of https://github.com/vim/vim.git synced 2025-07-24 10:45:12 -04:00

runtime(gleam): add ftplugin for gleam files

fixes: #15864
closes: #15866

Signed-off-by: Trilowy <49493635+trilowy@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Trilowy 2024-10-13 19:08:30 +02:00 committed by Christian Brabandt
parent 5dcee3c723
commit 6e918538b1
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
2 changed files with 17 additions and 0 deletions

1
.github/MAINTAINERS vendored
View File

@ -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

View File

@ -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