mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
runtime(gleam): update Maintainer and filetype options
closes: #17086 Signed-off-by: Kirill Morozov <kirill@robotix.pro> 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
3956c5b53c
commit
3cbd7f18e3
2
.github/MAINTAINERS
vendored
2
.github/MAINTAINERS
vendored
@ -180,7 +180,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/gleam.vim @kirillmorozov
|
||||
runtime/ftplugin/go.vim @dbarnett
|
||||
runtime/ftplugin/goaccess.vim @meonkeys
|
||||
runtime/ftplugin/gomod.vim @yu-yk
|
||||
|
@ -1,7 +1,8 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Gleam
|
||||
" Maintainer: Trilowy (https://github.com/trilowy)
|
||||
" Last Change: 2024 Oct 13
|
||||
" Maintainer: Kirill Morozov <kirill@robotix.pro>
|
||||
" Previous Maintainer: Trilowy (https://github.com/trilowy)
|
||||
" Last Change: 2025-04-12
|
||||
|
||||
if exists('b:did_ftplugin')
|
||||
finish
|
||||
@ -10,7 +11,11 @@ let b:did_ftplugin = 1
|
||||
|
||||
setlocal comments=://,:///,:////
|
||||
setlocal commentstring=//\ %s
|
||||
setlocal expandtab
|
||||
setlocal formatprg=gleam\ format\ --stdin
|
||||
setlocal shiftwidth=2
|
||||
setlocal softtabstop=2
|
||||
|
||||
let b:undo_ftplugin = "setlocal comments< commentstring<"
|
||||
let b:undo_ftplugin = "setlocal com< cms< fp< et< sw< sts<"
|
||||
|
||||
" vim: sw=2 sts=2 et
|
||||
|
Reference in New Issue
Block a user