summaryrefslogtreecommitdiffstats
path: root/contrib/pcmk-ftdetect.vim
blob: e8e5387ab150cb5e2326d4c0899ca830a0e0eef5 (plain)
1
2
" test for match at first character
au BufNewFile,BufRead *   if match(getline(1), 'node ')==0 | set ft=pcmk | endif