Ananda Umamil
a76e1eb89d
highlights(haskell): function with type signature
2022-01-13 21:48:35 +01:00
koalp
c6afb729b9
highlights(julia): add highlight for block comments
2022-01-13 17:56:06 +01:00
Jendrik Stelzner
31fe7ee4f9
Add a missing LaTeX hightlight.
...
Add \eqref to the list of referencing commands.
2022-01-13 09:44:03 +01:00
Michael Chris Lopez
1f8ef8fe52
highlights(vue): improve vue highlights
...
- remove template_name and element and make more specific targeting
2022-01-12 12:10:07 +01:00
Michael Chris Lopez
5e2121a227
highlights(html_tags): more specific attribute_value target
2022-01-12 12:10:07 +01:00
Jendrik Stelzner
41a097d9c5
Add LaTeX highlights: addpart, addchap, addsec.
...
Add highlight for the LaTeX sectioning commands \addpart, \addchap, \addsec and their starred variants.
2022-01-12 00:41:26 +01:00
MDeiml
9fff379c17
Add highlight for markdown delimiters
2022-01-11 12:05:56 +01:00
MDeiml
b5cdb868c7
Fix slow startup times for markdown grammar
2022-01-10 20:32:27 +01:00
Stephan Seitz
0d53066533
highlights(llvm): import highlight queries from upstream
2022-01-09 20:17:08 +01:00
Stephan Seitz
ba2959347d
highlights(go): highlights "~"
...
Follow upstream change
beb36fc9be
2022-01-09 20:16:49 +01:00
Stephan Seitz
2cb67b8f4e
folds(bash): fold at c_style_for_statement
2022-01-09 20:16:21 +01:00
Sal Bakraa
a2629ebcc0
fix(kotlin): use _import for type captures
2022-01-08 20:01:00 +01:00
Sal Bakraa
b963e9f994
fix(kotlin): use @attribute instead of @annotation
2022-01-08 20:01:00 +01:00
Sal Bakraa
f92d11cdee
fix(kotlin): use correct node for when expression folds
2022-01-08 20:01:00 +01:00
Sal Bakraa
d163f20617
fix(kotlin): fix typo in locals query
2022-01-08 20:01:00 +01:00
Sal Bakraa
2a50ac94bb
feat(kotlin): include a folds and a locals query
2022-01-08 20:01:00 +01:00
Sal Bakraa
886ae5b87e
fix(kotlin): include regex in injections query
2022-01-08 20:01:00 +01:00
Sal Bakraa
5cfc96effe
fix(kotlin): update highlights query to match new parser
2022-01-08 20:01:00 +01:00
MDeiml
391f29c03a
Add highlight for quote marker
2022-01-08 20:00:28 +01:00
Elwardi
9b35c671ea
Better punctuation queries for foam
2022-01-08 13:20:52 +01:00
Elwardi
efaf985b24
Remove OpenFOAM textobjects
2022-01-08 13:20:52 +01:00
Elwardi
8133888032
Highlight builtins as @constant.builtin in OpenFOAM queries
2022-01-08 13:20:52 +01:00
Elwardi
16e77495c4
Add OpenFOAM parser
2022-01-08 13:20:52 +01:00
Ananda Umamil
50fee51d35
Improve Haskell highlighting
2022-01-08 12:37:11 +01:00
Alexandre A. Muller
a7c0c1764b
Add ninja parser ( #2217 )
...
* Add ninja parser
* Add branch main
* No need for ftdetect
2022-01-08 01:26:33 +00:00
Lewis Russell
c090007a88
highlights(make): add all special targets
2022-01-07 22:28:16 +01:00
numToStr
ab691444ce
highlights(markdown): image_description as reference
2022-01-07 11:14:29 +01:00
numToStr
2a49c05f66
highlights(markdown): image ! as delimeter
2022-01-07 11:14:29 +01:00
numToStr
5b69f82e15
highlights(markdown): link_title as string literal
2022-01-07 11:14:29 +01:00
numToStr
b84a09292e
highlights(markdown): image ( ) [ ] as delemiter
2022-01-07 11:14:29 +01:00
Fymyte
69aeed8495
fix(locals): fix local selectors query
...
Signed-off-by: Fymyte <pierguill@gmail.com>
2022-01-06 22:02:02 +01:00
Fymyte
234ec41653
add(indent): add ignore indent for comments
...
Signed-off-by: Fymyte <pierguill@gmail.com>
2022-01-06 22:02:02 +01:00
Fymyte
4ebaa35c0b
fix(indent): fix indent queries
...
Signed-off-by: Fymyte <pierguill@gmail.com>
2022-01-06 22:02:02 +01:00
Fymyte
171adc391b
add(query): fold, indent and locals queries for rasi
...
Signed-off-by: Fymyte <pierguill@gmail.com>
2022-01-06 22:02:02 +01:00
Alvaro Muñoz Sanchez
142c017ecb
improve markdown highlighting
2022-01-06 20:38:54 +01:00
MDeiml
8ada8faf2f
Be more accurate about code block language
2022-01-05 23:38:28 +01:00
Philip Zander
b058034029
highlights(Pascal): Fix highlighting of types
...
A recent change broke highlighting for namespaces & generic types like
`foo.bar` and `foo<t>`.
2022-01-05 20:59:26 +01:00
Mads Kjeldgaard
e81a60b692
fix: Remove pi_statement from highlight to sync up with upstream change
2022-01-05 12:07:20 +01:00
Fymyte
d13c045223
add(rasi): add rasi parser
...
Signed-off-by: Fymyte <pierguill@gmail.com>
2022-01-05 01:01:12 +01:00
Rafik Draoui
9b262596e0
Remove Python docstring injections
...
These injections lead to inconsistent highlighting since some edge cases
aren't handled (as mentioned in the PR description that introduced the
injections [0]). Besides, not all Python projects use reStructuredText
syntax in docstrings.
If someone still wants to use them, they can extend the base injection
queries through `after/queries/` [1] or enable them with
`vim.treesitter.set_query`.
See also: https://github.com/nvim-treesitter/nvim-treesitter/pull/1204
[0]: https://github.com/nvim-treesitter/nvim-treesitter/pull/917
[1]: ad69e2528a (adding-queries)
2022-01-04 23:15:30 +01:00
Jirgn
8342a84f40
fix: typo in locals query
2022-01-04 00:59:33 +01:00
Jirgn
c3731d627e
fix: add eel_array and eel_object to indent query
2022-01-04 00:59:33 +01:00
Jirgn
47e9c1dce9
fix: highlights for value_expression start and end as punctuation
2022-01-04 00:59:33 +01:00
Jirgn
a64f509beb
feat: add indent for fusion and afx
2022-01-04 00:59:33 +01:00
Jirgn
8ec2b6cb9f
fix: add afx_text to highlights (text)
2022-01-04 00:59:33 +01:00
Jirgn
88505b7312
feat: add more local definitions
2022-01-04 00:59:33 +01:00
Jirgn
17403ce019
feat: add fold queries
2022-01-04 00:59:33 +01:00
Philip Zander
fa2a6b68aa
highlights(pascal): Highlight variables
...
Assume that any identifiers that aren't function calls, types, fields or
constants are variables. This is consistent with the highlighting
definitions for other languages. Some themes (e.g. zenbones) make use of
this information and they don't look quite right unless we set those
groups.
2021-12-29 23:38:43 +01:00
Isopod
9174b095b6
Add support for Pascal ( #2153 )
...
* Add support for Pascal
* Pascal: Replace some of the capture groups, use lua-match where possible
2021-12-24 13:53:32 -05:00
Santos Gallegos
b99f46c735
Query: update highlights
...
ref https://github.com/nvim-treesitter/tree-sitter-query/pull/17
2021-12-24 03:46:53 +01:00