mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 00:40:06 -04:00
feat(latex): add additional include highlights
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
This commit is contained in:
parent
0ffe627223
commit
d9ea5035d4
1 changed files with 17 additions and 5 deletions
|
|
@ -268,12 +268,16 @@
|
||||||
|
|
||||||
(latex_include
|
(latex_include
|
||||||
command: _ @keyword.import
|
command: _ @keyword.import
|
||||||
path: (curly_group_path) @string)
|
path: (curly_group_path) @string.special.path)
|
||||||
|
|
||||||
|
(verbatim_include
|
||||||
|
command: _ @keyword.import
|
||||||
|
path: (curly_group_path) @string.special.path)
|
||||||
|
|
||||||
(import_include
|
(import_include
|
||||||
command: _ @keyword.import
|
command: _ @keyword.import
|
||||||
directory: (curly_group_path) @string
|
directory: (curly_group_path) @string.special.path
|
||||||
file: (curly_group_path) @string)
|
file: (curly_group_path) @string.special.path)
|
||||||
|
|
||||||
(bibstyle_include
|
(bibstyle_include
|
||||||
command: _ @keyword.import
|
command: _ @keyword.import
|
||||||
|
|
@ -281,7 +285,7 @@
|
||||||
|
|
||||||
(bibtex_include
|
(bibtex_include
|
||||||
command: _ @keyword.import
|
command: _ @keyword.import
|
||||||
paths: (curly_group_path_list) @string)
|
paths: (curly_group_path_list) @string.special.path)
|
||||||
|
|
||||||
(biblatex_include
|
(biblatex_include
|
||||||
"\\addbibresource" @keyword.import
|
"\\addbibresource" @keyword.import
|
||||||
|
|
@ -289,7 +293,15 @@
|
||||||
|
|
||||||
(graphics_include
|
(graphics_include
|
||||||
command: _ @keyword.import
|
command: _ @keyword.import
|
||||||
path: (curly_group_path) @string)
|
path: (curly_group_path) @string.special.path)
|
||||||
|
|
||||||
|
(svg_include
|
||||||
|
command: _ @keyword.import
|
||||||
|
path: (curly_group_path) @string.special.path)
|
||||||
|
|
||||||
|
(inkscape_include
|
||||||
|
command: _ @keyword.import
|
||||||
|
path: (curly_group_path) @string.special.path)
|
||||||
|
|
||||||
(tikz_library_import
|
(tikz_library_import
|
||||||
command: _ @keyword.import
|
command: _ @keyword.import
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue