codekingpro/portable-devtools
114k
1" Vim filetype plugin file2" Language: Gleam3" Maintainer: Kirill Morozov <kirill@robotix.pro>4" Previous Maintainer: Trilowy (https://github.com/trilowy)5" Based On: https://github.com/gleam-lang/gleam.vim6" Last Change: 2025 Apr 217" 2026 Feb 13 by Vim Project (remove 'formatprg' #19108)8 9if exists('b:did_ftplugin')10 finish11endif12let b:did_ftplugin = 113 14setlocal comments=:////,:///,://15setlocal commentstring=//\ %s16setlocal suffixesadd=.gleam17let b:undo_ftplugin = "setlocal com< cms< sua<"18 19if get(g:, "gleam_recommended_style", 1)20 setlocal expandtab21 setlocal shiftwidth=222 setlocal smartindent23 setlocal softtabstop=224 setlocal tabstop=225 let b:undo_ftplugin ..= " | setlocal et< sw< si< sts< ts<"26endif27 28if !exists('current_compiler')29 compiler gleam_build30 let b:undo_ftplugin ..= "| compiler make"31endif32 33" vim: sw=2 sts=2 et34 