summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 19:06:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 19:06:15 +0000
commit45e7de1c4f501ef5d3b6f08126a2ad82ccb07533 (patch)
treeb5039a1ec7ad36b69e101b52645040b88a2e929b /runtime/ftplugin
parentAdding upstream version 2:9.1.0374. (diff)
downloadvim-45e7de1c4f501ef5d3b6f08126a2ad82ccb07533.tar.xz
vim-45e7de1c4f501ef5d3b6f08126a2ad82ccb07533.zip
Adding upstream version 2:9.1.0377.upstream/2%9.1.0377
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--runtime/ftplugin/jq.vim18
1 files changed, 18 insertions, 0 deletions
diff --git a/runtime/ftplugin/jq.vim b/runtime/ftplugin/jq.vim
new file mode 100644
index 0000000..15cd400
--- /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