mirror of
https://github.com/vim/vim.git
synced 2025-10-22 08:34:29 -04:00
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>
22 lines
529 B
VimL
22 lines
529 B
VimL
" Vim filetype plugin file
|
|
" 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
|
|
endif
|
|
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 com< cms< fp< et< sw< sts<"
|
|
|
|
" vim: sw=2 sts=2 et
|