summaryrefslogtreecommitdiffstats
path: root/ftplugin/jq.vim
blob: 2fd91c555683721e9658d921dde47056a9685560 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
let files = filter(globpath(&rtp, 'ftplugin/jq.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
if len(files) > 0
  exec 'source ' . files[0]
  finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jq') == -1

setlocal commentstring=#%s

endif