- Fixed error.
This commit is contained in:
parent
105485ac1d
commit
dc607f8468
@ -298,8 +298,8 @@ function! s:set_snippet_pattern(dict)"{{{
|
||||
\ '<Snip> ' : '[Snip] '
|
||||
|
||||
let abbr = has_key(a:dict, 'abbr')? a:dict.abbr :
|
||||
\substitute(a:dict.word,
|
||||
\ '\${\d\+\%(:.\{-}\)\?\\\@<!}\|\$<\d\+\%(:.\{-}\)\?\\\@<!>\|'
|
||||
\ substitute(a:dict.word,
|
||||
\ '\${\d\+\%(:.\{-}\)\?\\\@<!}\|\$<\d\+\%(:.\{-}\)\?\\\@<!>\|'.
|
||||
\ '\$\d\+\|<\%(\\n\|\\t\)>\|\s\+', ' ', 'g')
|
||||
let abbr = (g:neocomplcache_max_keyword_width >= 0 &&
|
||||
\ len(abbr) > g:neocomplcache_max_keyword_width)?
|
||||
|
Loading…
Reference in New Issue
Block a user