diff options
Diffstat (limited to 'autoload/crystal/indent.vim')
-rw-r--r-- | autoload/crystal/indent.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/autoload/crystal/indent.vim b/autoload/crystal/indent.vim index ffd780e0..d50c6e29 100644 --- a/autoload/crystal/indent.vim +++ b/autoload/crystal/indent.vim @@ -1,3 +1,8 @@ +let files = filter(globpath(&rtp, 'autoload/crystal/indent.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, 'crystal') == -1 " Variables {{{1 |