diff options
author | Vito <vito.blog@gmail.com> | 2024-04-26 22:36:20 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-26 22:39:41 +0200 |
commit | 79952b9c6774d30f248a0ecf9ea84318be947fc4 (patch) | |
tree | 33ddb54a8f2fbb9eb250c761ca10ddf0b7010dff /runtime/ftplugin | |
parent | 9525f62136047225f4dca8ba68ab2023600ec522 (diff) |
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>
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 |