0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00
GodFather dc5c905541
runtime(jq): remove undefined var s:save_cpoptions and add include setting
closes: #14661
closes: #14663

Co-authored-by: itchyny <itchyny@cybozu.co.jp>
Signed-off-by: GodFather <vito.blog@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-29 20:18:26 +02:00

17 lines
356 B
VimL

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