Merge branch 'latex' of http://github.com/mreppen/kakoune
This commit is contained in:
commit
2a28779998
|
@ -39,7 +39,7 @@ add-highlighter shared/latex/content/ regex '\\(?!_)\w+\b' 0:keyword
|
||||||
# Options passed to scopes, between brackets
|
# Options passed to scopes, between brackets
|
||||||
add-highlighter shared/latex/content/ regex '\\(?!_)\w+\b\[([^\]]+)\]' 1:value
|
add-highlighter shared/latex/content/ regex '\\(?!_)\w+\b\[([^\]]+)\]' 1:value
|
||||||
# Content between dollar signs/pairs
|
# Content between dollar signs/pairs
|
||||||
add-highlighter shared/latex/content/ regex '(\$(\\\$|[^$])+\$)|(\$\$(\\\$|[^$])+\$\$)' 0:meta
|
add-highlighter shared/latex/content/ regex '((?<!\\)\$(\\\$|[^$])+\$)|((?<!\\)\$\$(\\\$|[^$])+\$\$)|((?<!\\)\\\[.*?\\\])|(\\\(.*?\\\))' 0:meta
|
||||||
# Emphasized text
|
# Emphasized text
|
||||||
add-highlighter shared/latex/content/ regex '\\(emph|textit)\{([^}]+)\}' 2:default+i
|
add-highlighter shared/latex/content/ regex '\\(emph|textit)\{([^}]+)\}' 2:default+i
|
||||||
# Bold text
|
# Bold text
|
||||||
|
|
Loading…
Reference in New Issue
Block a user