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

set isfname+=@-@
set path+=./../templates,./../files,templates,files

endif