feat: add .ins (latex package installation) file extension to latex type as it is not linked to other filetype
This commit is contained in:
parent
6a32c43351
commit
8861a1646e
|
@ -33,8 +33,11 @@ provide-module latex %~
|
|||
|
||||
add-highlighter shared/latex regions
|
||||
add-highlighter shared/latex/content default-region group
|
||||
# Region for control sequence (includes latex2e arguments and options) starting with unescaped \
|
||||
# and ending at eol or word boundaries not preceded nor followed by @ : \ { } [ ] *
|
||||
# Region for control sequence (includes latex2e arguments and options)
|
||||
# starting with unescaped \ and ending :
|
||||
# - at eol, or
|
||||
# - at word boundaries not preceded nor followed by @ : \ { } [ ] *, or
|
||||
# - after an unescaped }
|
||||
add-highlighter shared/latex/cs region '(?<!\\)(?:\\\\)*\K\\[@\w]' '/\n|(?<![@:\\{}\[\]*])(?![@:\\{}\[\]*])\b|(?<!\\)(?:\\\\)*\K\}\K' group
|
||||
add-highlighter shared/latex/comment region '(?<!\\)(?:\\\\)*\K%' '\n' fill comment
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user