runtime(gleam): update Maintainer and filetype options
Commit:
https://github.com/vim/vim/commit/3cbd7f18e320aa1df652c9a16bed4b284c4538b8
Author: Kirill Morozov <[email protected]>
Date: Sun Apr 13 17:58:32 2025 +0200
runtime(gleam): update Maintainer and filetype options
closes: https://github.com/vim/vim/issues/17086
Signed-off-by: Kirill Morozov <[email protected]>
Signed-off-by: Trilowy <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS
index 277a2831d..02a5dd852 100644
--- a/.github/MAINTAINERS
+++ b/.github/MAINTAINERS
@@ -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
diff --git a/runtime/ftplugin/gleam.vim b/runtime/ftplugin/gleam.vim
index 9ed607c4b..5187d4d00 100644
--- a/runtime/ftplugin/gleam.vim
+++ b/runtime/ftplugin/gleam.vim
@@ -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 <[email protected]>
+" 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
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1u3zz4-000lS2-V1%40256bit.org.