]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(gleam): update Maintainer and filetype options
authorKirill Morozov <kirill@robotix.pro>
Sun, 13 Apr 2025 15:58:32 +0000 (17:58 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 13 Apr 2025 15:58:32 +0000 (17:58 +0200)
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>
.github/MAINTAINERS
runtime/ftplugin/gleam.vim

index 277a2831d887dcef7444d7711d28816832195ce6..02a5dd852738199a5c9d547b9ced4e974e67e586 100644 (file)
@@ -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
index 9ed607c4b37a3a83de96609fa0a98eb4b06b3d39..5187d4d0088ca312ec430bd005d15081cf37aa13 100644 (file)
@@ -1,7 +1,8 @@
 " Vim filetype plugin file
-" Language:    Gleam
-" Maintainer:  Trilowy (https://github.com/trilowy)
-" Last Change: 2024 Oct 13
+" Language:            Gleam
+" 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