summaryrefslogtreecommitdiffstats
path: root/ftplugin/raml.vim
blob: ec1a3c4a4a43f2e5a1d626351235c370d84cec22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/raml.vim', 1, 1), Filter)
if len(files) > 0
  exec 'source ' . files[0]
  finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'raml') == -1

set ts=2 sts=2 sw=2 et

endif