- g:neosnippet#snippets_directory allows list.

This commit is contained in:
Shougo Matsushita
2013-11-12 17:31:06 +09:00
parent a21e139296
commit 294bcf2ff0
3 changed files with 11 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
"=============================================================================
" FILE: util.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
" Last Modified: 26 Sep 2013.
" Last Modified: 12 Nov 2013.
" License: MIT license {{{
" Permission is hereby granted, free of charge, to any person obtaining
" a copy of this software and associated documentation files (the
@@ -117,6 +117,9 @@ function! neosnippet#util#is_sudo() "{{{
\ && $HOME ==# expand('~'.$SUDO_USER)
endfunction"}}}
function! neosnippet#util#option2list(str) "{{{
return type(a:str) == type('') ? split(a:str, '\s*,\s*') : a:str
endfunction"}}}
let &cpo = s:save_cpo
unlet s:save_cpo