mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-12 21:43:49 -05:00
22 lines
523 B
VimL
22 lines
523 B
VimL
if polyglot#init#is_disabled(expand('<sfile>:p'), 'just', 'ftplugin/just.vim')
|
|
finish
|
|
endif
|
|
|
|
" Vim ftplugin file
|
|
" Language: Justfile
|
|
" Maintainer: Noah Bogart <noah.bogart@hey.com>
|
|
" URL: https://github.com/NoahTheDuke/vim-just.git
|
|
" Last Change: 2023 Jul 08
|
|
|
|
" 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<"
|