robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

zeertzjqMerge pull request #40472 from zeertzjq/vim-1f337327945732ed7

master
659 B24 linesraw
1" Vim filetype plugin file
2" Language:     Tolk
3" Maintainer:   redavy <hello.redavy@proton.me>
4" Upstream:     https://github.com/redavy/vim-tolk
5" Last Update:  24 May 2026
6"               27 Jun 2026 by Vim Project (normalize recommended style guard)
7
8if exists("b:did_ftplugin")
9  finish
10endif
11let b:did_ftplugin = 1
12
13setlocal commentstring=//\ %s
14
15if get(g:, 'tolk_recommended_style',
16      \ get(g:, 'filetype_recommended_style', 1))
17  setlocal tabstop=2
18  setlocal shiftwidth=2
19  setlocal expandtab
20  setlocal softtabstop=2
21  setlocal cindent
22endif
23
24let b:undo_ftplugin = "setlocal commentstring< tabstop< shiftwidth< expandtab< softtabstop< cindent<"