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