aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/just.vim
blob: 6f2acddf96403505815f4bf7be92bb2ba7657528 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
" Vim ftplugin file
" Language:	Justfile
" Maintainer:	Peter Benjamin <@pbnj>
" Last Change:	2025 Jan 19
" Credits:	The original author, Noah Bogart <https://github.com/NoahTheDuke/vim-just/>

" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
  finish
endif
let b:did_ftplugin = 1

setlocal iskeyword+=-
setlocal comments=n:#
setlocal commentstring=#\ %s

let b:undo_ftplugin = "setlocal iskeyword< comments< commentstring<"