runtime(jq): include syntax, ftplugin and compiler plugin
closes: #14619 Signed-off-by: Vito <vito.blog@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
18
runtime/ftplugin/jq.vim
Normal file
18
runtime/ftplugin/jq.vim
Normal file
@ -0,0 +1,18 @@
|
||||
" 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 commentstring<'
|
||||
|
||||
setlocal commentstring=#%s
|
||||
compiler jq
|
||||
|
||||
let &cpoptions = s:save_cpoptions
|
||||
unlet s:save_cpoptions
|
||||
Reference in New Issue
Block a user