diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2024-04-27 10:31:09 +0200 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-04-27 11:01:14 +0200 |
| commit | 0547347e72c1e345faf7b7d835a806bfb1f59b68 (patch) | |
| tree | 6fdac0608ab8d92a96922edc06b44ebfba680579 /runtime/ftplugin | |
| parent | 435dee74bb3593b778328138dac054f26e2d7396 (diff) | |
| download | rneovim-0547347e72c1e345faf7b7d835a806bfb1f59b68.tar.gz rneovim-0547347e72c1e345faf7b7d835a806bfb1f59b68.tar.bz2 rneovim-0547347e72c1e345faf7b7d835a806bfb1f59b68.zip | |
vim-patch:79952b9c6774
runtime(jq): include syntax, ftplugin and compiler plugin
closes: vim/vim#14619
https://github.com/vim/vim/commit/79952b9c6774d30f248a0ecf9ea84318be947fc4
Co-authored-by: Vito <vito.blog@gmail.com>
Diffstat (limited to 'runtime/ftplugin')
| -rw-r--r-- | runtime/ftplugin/jq.vim | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/runtime/ftplugin/jq.vim b/runtime/ftplugin/jq.vim new file mode 100644 index 0000000000..15cd400d34 --- /dev/null +++ b/runtime/ftplugin/jq.vim @@ -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 |