diff options
Diffstat (limited to 'ftplugin/cryptol')
-rw-r--r-- | ftplugin/cryptol/folding.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ftplugin/cryptol/folding.vim b/ftplugin/cryptol/folding.vim index 210d0573..d516f61f 100644 --- a/ftplugin/cryptol/folding.vim +++ b/ftplugin/cryptol/folding.vim @@ -1,3 +1,8 @@ +let files = filter(globpath(&rtp, 'ftplugin/cryptol/folding.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, 'cryptol') == -1 " Copyright © 2013 Edward O'Callaghan. All Rights Reserved. |