mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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:
committed by
Christian Brabandt
parent
5dcee3c723
commit
6e918538b1
16
runtime/ftplugin/gleam.vim
Normal file
16
runtime/ftplugin/gleam.vim
Normal 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
|
Reference in New Issue
Block a user