Some of snipmates snippets also require one to have g:snips_author defined

This commit is contained in:
Phillip Berndt 2011-07-13 14:23:21 +02:00
parent 281781fcee
commit d08b58cf39

View File

@ -14,6 +14,7 @@ endif
" Snipmate compatibilty: Filename function, taken from
" snipMate.vim {{{
let g:snips_author = "John Doe"
fun! Filename(...)
let filename = expand('%:t:r')
if filename == '' | return a:0 == 2 ? a:2 : '' | endif