robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
7945732ed7
master
1" Vim filetype plugin file 2" Language: Gleam 3" Maintainer: Kirill Morozov <kirill@robotix.pro> 4" Previous Maintainer: Trilowy (https://github.com/trilowy) 5" Based On: https://github.com/gleam-lang/gleam.vim 6" Last Change: 2025 Apr 21 7" 2026 Feb 13 by Vim Project (remove 'formatprg' #19108) 8" 2026 Jun 27 by Vim Project (normalize recommended style guard) 9 10if exists ( 'b:did_ftplugin' ) 11finish 12endif 13let b: did_ftplugin = 1 14 15setlocal comments = :////,:///,:// 16setlocal commentstring = //\ %s 17setlocal suffixesadd = .gleam 18let b: undo_ftplugin = "setlocal com< cms< sua<" 19 20if get ( g:, 'gleam_recommended_style' , 21 \get ( g:, 'filetype_recommended_style' , 1 )) 22setlocal expandtab 23setlocal shiftwidth = 2 24setlocal smartindent 25setlocal softtabstop = 2 26setlocal tabstop = 2 27let b: undo_ftplugin ..= " | setlocal et< sw< si< sts< ts<" 28endif 29 30if ! exists ( 'current_compiler' ) 31compiler gleam_build 32let b: undo_ftplugin ..= "| compiler make" 33endif 34 35" vim: sw=2 sts=2 et