mirror of
https://github.com/neovim/neovim.git
synced 2024-12-27 14:21:31 -07:00
672138245f
runtime(jq): remove undefined var s:save_cpoptions and add include setting
closes: vim/vim#14661
closes: vim/vim#14663
dc5c905541
Co-authored-by: GodFather <vito.blog@gmail.com>
Co-authored-by: itchyny <itchyny@cybozu.co.jp>
17 lines
356 B
VimL
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<'
|