summaryrefslogtreecommitdiffstats
path: root/indent/dictconf.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/dictconf.vim')
-rw-r--r--indent/dictconf.vim9
1 files changed, 1 insertions, 8 deletions
diff --git a/indent/dictconf.vim b/indent/dictconf.vim
index 478d2b4c..c721105c 100644
--- a/indent/dictconf.vim
+++ b/indent/dictconf.vim
@@ -1,11 +1,6 @@
-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/dictconf.vim', 1, 1), Filter)
-if len(files) > 0
- exec 'source ' . files[0]
+if !polyglot#util#IsEnabled('dictconf', expand('<sfile>:p'))
finish
endif
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dictconf') == -1
" Vim indent file
" Language: dict(1) configuration file
@@ -20,5 +15,3 @@ let b:did_indent = 1
setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent
setlocal nosmartindent
inoremap <buffer> # X#
-
-endif