commit 2d6120240de5d13cc59eff7b2fe362644d36851e parent 51caf0a3af599bc4eacdc4b87092bb20286dbfe8 Author: zeertzjq <zeertzjq@outlook.com> Date: Mon, 14 Apr 2025 15:41:58 +0800 vim-patch:3cbd7f1: runtime(gleam): update Maintainer and filetype options (#33461) closes: vim/vim#17086 https://github.com/vim/vim/commit/3cbd7f18e320aa1df652c9a16bed4b284c4538b8 Co-authored-by: Kirill Morozov <kirill@robotix.pro> Diffstat:
| M | runtime/ftplugin/gleam.vim | | | 13 | +++++++++---- |
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git 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 <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