diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-29 21:48:38 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-29 21:48:38 +0200 |
commit | 543e8c917beddea04099ce9fe28e780ef7bda7fa (patch) | |
tree | 575b5f24e0d0f59b7b550f90f7aabe988178da65 /autoload/polyglot/sleuth.vim | |
parent | 2f133372bc19259888036c659cc618299ae5df59 (diff) | |
download | vim-polyglot-543e8c917beddea04099ce9fe28e780ef7bda7fa.tar.gz vim-polyglot-543e8c917beddea04099ce9fe28e780ef7bda7fa.zip |
Modularize lazy loading of polyglot parts
Diffstat (limited to '')
-rw-r--r-- | autoload/polyglot/sleuth.vim (renamed from autoload/sleuth.vim) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/sleuth.vim b/autoload/polyglot/sleuth.vim index 3a41f6f9..d74de687 100644 --- a/autoload/sleuth.vim +++ b/autoload/polyglot/sleuth.vim @@ -232,6 +232,6 @@ let s:globs = { \ 'zsh': '*.zsh,.zshrc,.zshenv,.zlogin,.zprofile,.zlogout,.zlog*,.zcompdump*,.zfbfmarks,.zsh*', \} -func! sleuth#GlobForFiletype(type) +func! polyglot#sleuth#GlobForFiletype(type) return get(s:globs, a:type, '') endfunc |