zeertzjq 7096631249 vim-patch:2a01e59: runtime(just): add 'suffixesadd' to ftplugin
closes: vim/vim#20197

2a01e59671

Co-authored-by: mathmil <82173590+mathmil@users.noreply.github.com>
2026-05-18 08:11:17 +08:00

20 lines
547 B
VimL

" Vim ftplugin file
" Language: Justfile
" Maintainer: Peter Benjamin <@pbnj>
" Last Change: 2025 Jan 19
" 2026 May 17 by Vim Project: add 'suffixesadd' #20197
" 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
setlocal suffixesadd=.just
let b:undo_ftplugin = "setlocal iskeyword< comments< commentstring< suffixesadd<"