1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 01:25:00 +08:00
This commit is contained in:
amix
2017-04-01 14:29:02 +02:00
parent 5f990400c2
commit c4fbfe8aa8
20 changed files with 993 additions and 577 deletions

View File

@ -93,8 +93,7 @@ endif
let g:snipMate['get_snippets'] = get(g:snipMate, 'get_snippets', funcref#Function("snipMate#GetSnippets"))
" List of paths where snippets/ dirs are located
let g:snipMate['snippet_dirs'] = get(g:snipMate, 'snippet_dirs', split(&rtp, ','))
if type(g:snipMate['snippet_dirs']) != type([])
if exists('g:snipMate.snippet_dirs') && type(g:snipMate['snippet_dirs']) != type([])
echohl WarningMsg
echom "g:snipMate['snippet_dirs'] must be a List"
echohl None