summaryrefslogtreecommitdiffstats
path: root/indent/mustache.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/mustache.vim')
-rw-r--r--indent/mustache.vim9
1 files changed, 1 insertions, 8 deletions
diff --git a/indent/mustache.vim b/indent/mustache.vim
index f546461c..a7a0d3c3 100644
--- a/indent/mustache.vim
+++ b/indent/mustache.vim
@@ -1,12 +1,5 @@
-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, 'indent/mustache.vim', 1, 1), Filter)
-if len(files) > 0
- exec 'source ' . files[0]
+if !polyglot#util#IsEnabled('handlebars', expand('<sfile>:p'))
finish
endif
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'handlebars') == -1
runtime! indent/handlebars.vim
-
-endif