Merge branch 'latex-headings' of http://github.com/Ordoviz/kakoune
This commit is contained in:
commit
20b0ad8b84
|
@ -44,6 +44,9 @@ add-highlighter shared/latex/content/ regex '(\$(\\\$|[^$])+\$)|(\$\$(\\\$|[^$])
|
||||||
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
|
||||||
add-highlighter shared/latex/content/ regex '\\textbf\{([^}]+)\}' 1:default+b
|
add-highlighter shared/latex/content/ regex '\\textbf\{([^}]+)\}' 1:default+b
|
||||||
|
# Section headings
|
||||||
|
add-highlighter shared/latex/content/ regex '\\(part|section)\*?\{([^}]+)\}' 2:title
|
||||||
|
add-highlighter shared/latex/content/ regex '\\(chapter|(sub)+section|(sub)*paragraph)\*?\{([^}]+)\}' 4:header
|
||||||
|
|
||||||
|
|
||||||
# Indent
|
# Indent
|
||||||
|
|
Loading…
Reference in New Issue
Block a user