Skip to content

Commit

Permalink
feat(syntax): add conceal for \[ul][lr]corner
Browse files Browse the repository at this point in the history
refer: #2952
  • Loading branch information
lervag committed May 8, 2024
1 parent 5732cd8 commit 8295ce6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autoload/vimtex/syntax/p/amssymb.vim
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ function! vimtex#syntax#p#amssymb#load(cfg) abort " {{{1
syntax match texMathSymbol '\\vartriangleleft\>' contained conceal cchar=
syntax match texMathSymbol '\\vartriangleright\>' contained conceal cchar=
syntax match texMathSymbol '\\veebar\>' contained conceal cchar=
syntax match texMathSymbol '\\ulcorner\>' contained conceal cchar=
syntax match texMathSymbol '\\ulcorner\>' contained conceal cchar=

This comment has been minimized.

Copy link
@firubat

firubat May 10, 2024

should be urcorner

syntax match texMathSymbol '\\llcorner\>' contained conceal cchar=
syntax match texMathSymbol '\\lrcorner\>' contained conceal cchar=
endfunction

" }}}1

2 comments on commit 8295ce6

@firubat
Copy link

@firubat firubat commented on 8295ce6 May 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Embarrassingly I had a typo there in line 213 it should be urcorner and not ulcorner again (I think it happened to me when I added the llcorner and lrcorner after the [ul/ur] ones, I copy pasted and things messed up).
My apologies

@lervag
Copy link
Owner Author

@lervag lervag commented on 8295ce6 May 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks; I missed that!

Please sign in to comment.