- Fixed for abbr.
This commit is contained in:
parent
c3ea9a5d18
commit
c24924125b
@ -207,13 +207,14 @@ function! s:initialize_snippet(dict, path, line, pattern, name)"{{{
|
||||
\ s:get_placeholder_marker_pattern(). '\|'.
|
||||
\ s:get_mirror_placeholder_marker_pattern().
|
||||
\ '\|\s\+\|\n', ' ', 'g')
|
||||
let a:dict.abbr = a:dict.name
|
||||
else
|
||||
let abbr = a:dict.abbr
|
||||
endif
|
||||
|
||||
let dict = {
|
||||
\ 'word' : a:dict.name, 'snip' : a:dict.word,
|
||||
\ 'abbr' : abbr,
|
||||
\ 'abbr' : a:dict.abbr,
|
||||
\ 'description' : a:dict.word,
|
||||
\ 'menu' : menu_pattern . abbr,
|
||||
\ 'options' : a:dict.options,
|
||||
|
Loading…
Reference in New Issue
Block a user