Fixed #595: s:re not always initialized
This commit is contained in:
parent
18a2b062b8
commit
c72fcbc0df
@ -214,8 +214,10 @@ endfunction
|
||||
" }}}1
|
||||
|
||||
function! vimtex#delim#get_delim_regexes(...) " {{{1
|
||||
return [s:re.delim_math.open, s:re.delim_math.close,
|
||||
\ s:re.delim_tex.open, s:re.delim_tex.close]
|
||||
return exists('s:re')
|
||||
\ ? [s:re.delim_math.open, s:re.delim_math.close,
|
||||
\ s:re.delim_tex.open, s:re.delim_tex.close]
|
||||
\ : ['', '', '', '']
|
||||
endfunction
|
||||
|
||||
" }}}1
|
||||
|
Loading…
Reference in New Issue
Block a user