blob: 5187d4d0088ca312ec430bd005d15081cf37aa13 [file] [log] [blame]
Trilowy6e918532024-10-13 19:08:30 +02001" Vim filetype plugin file
Kirill Morozov3cbd7f12025-04-13 17:58:32 +02002" Language: Gleam
3" Maintainer: Kirill Morozov <kirill@robotix.pro>
4" Previous Maintainer: Trilowy (https://github.com/trilowy)
5" Last Change: 2025-04-12
Trilowy6e918532024-10-13 19:08:30 +02006
7if exists('b:did_ftplugin')
8 finish
9endif
10let b:did_ftplugin = 1
11
12setlocal comments=://,:///,:////
13setlocal commentstring=//\ %s
Kirill Morozov3cbd7f12025-04-13 17:58:32 +020014setlocal expandtab
15setlocal formatprg=gleam\ format\ --stdin
16setlocal shiftwidth=2
17setlocal softtabstop=2
Trilowy6e918532024-10-13 19:08:30 +020018
Kirill Morozov3cbd7f12025-04-13 17:58:32 +020019let b:undo_ftplugin = "setlocal com< cms< fp< et< sw< sts<"
Trilowy6e918532024-10-13 19:08:30 +020020
21" vim: sw=2 sts=2 et