Skip to content

Commit 528c067

Browse files
committed
fix(syntax): inconsistent highlight of lceil and rceil
refer: lervag#3134
1 parent a7ee089 commit 528c067

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/vimtex/syntax/core.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2121,7 +2121,6 @@ let s:cmd_symbols = [
21212121
\ ['jmath', '𝚥'],
21222122
\ ['land', ''],
21232123
\ ['lnot', '¬'],
2124-
\ ['lceil', ''],
21252124
\ ['ldots', ''],
21262125
\ ['le', ''],
21272126
\ ['leftarrow', ''],
@@ -2167,7 +2166,6 @@ let s:cmd_symbols = [
21672166
\ ['prime', ''],
21682167
\ ['prod', ''],
21692168
\ ['propto', ''],
2170-
\ ['rceil', ''],
21712169
\ ['Re', ''],
21722170
\ ['rightarrow', ''],
21732171
\ ['Rightarrow', ''],
@@ -2293,6 +2291,8 @@ function! s:match_math_delims() abort " {{{1
22932291
syntax match texMathDelim contained conceal cchar= "\%#=1\\rangle\>"
22942292
syntax match texMathDelim contained conceal cchar= "\%#=1\\lfloor\>\s\?"
22952293
syntax match texMathDelim contained conceal cchar= "\%#=1\\rfloor\>"
2294+
syntax match texMathDelim contained conceal cchar= "\%#=1\\lceil\>\s\?"
2295+
syntax match texMathDelim contained conceal cchar= "\%#=1\\rceil\>"
22962296
syntax match texMathDelim contained conceal cchar=< "\%#=1\\\%([bB]igg\?l\|left\)<\s\?"
22972297
syntax match texMathDelim contained conceal cchar=> "\%#=1\\\%([bB]igg\?r\|right\)>"
22982298
syntax match texMathDelim contained conceal cchar=( "\%#=1\\\%([bB]igg\?l\|left\)(\s\?"

0 commit comments

Comments
 (0)