Files
vim-polyglot/ftplugin/jq.vim
2024-07-24 14:11:07 -07:00

21 lines
443 B
VimL

if polyglot#init#is_disabled(expand('<sfile>:p'), 'jq', 'ftplugin/jq.vim')
finish
endif
" Vim compiler file
" Language: jq
" Maintainer: Vito <vito.blog@gmail.com>
" Last Change: 2024 Apr 17
" Upstream: https://github.com/vito-c/jq.vim
if exists('b:did_ftplugin')
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = 'setl inc< commentstring<'
setlocal include=^\\s*\\%(import\\\|include\\)
setlocal commentstring=#%s
compiler jq