diff options
Diffstat (limited to 'ftplugin/terminfo.vim')
-rw-r--r-- | ftplugin/terminfo.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ftplugin/terminfo.vim b/ftplugin/terminfo.vim index 6466f3c6..ab948691 100644 --- a/ftplugin/terminfo.vim +++ b/ftplugin/terminfo.vim @@ -1,3 +1,8 @@ +let files = filter(globpath(&rtp, 'ftplugin/terminfo.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, 'terminfo') == -1 " Vim filetype plugin file |