mirror of
https://github.com/gryf/snipmate.vim.git
synced 2026-11-24 08:36:54 +01:00
fixed a typo in the check for global file-based snippets
This commit is contained in:
1 parent
28689f37fc
commit
644556ff42
1 file changed
+3
-4
@@ -18,11 +18,10 @@ if !exists('snippets_dir')
|
||||
\ '\vimfiles\snippets' : '/.vim/snippets/')
|
||||
endif
|
||||
if isdirectory(snippets_dir)
|
||||
if isdirectory(snippets_dir)
|
||||
call ExtractSnips(snippets_dir, '_')
|
||||
if isdirectory(snippets_dir.'_')
|
||||
call ExtractSnips(snippets_dir.'_', '_')
|
||||
endif
|
||||
au FileType * if !exists('did_ft_'.&ft) &&
|
||||
\ isdirectory(snippets_dir.&ft)
|
||||
au FileType * if !exists('did_ft_'.&ft) && isdirectory(snippets_dir.&ft)
|
||||
\| cal ExtractSnips(snippets_dir.&ft, &ft)
|
||||
\| endif
|
||||
endif
|
||||
Reference in new issue
Block a user