summaryrefslogtreecommitdiffstats
path: root/ftplugin/nginx.vim
blob: 13a50b2a744e95bb83be6e41bb388d5b0dda1899 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
let files = filter(globpath(&rtp, 'ftplugin/nginx.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, 'nginx') == -1

setlocal commentstring=#\ %s

endif