Commit graph

612 commits

Author SHA1 Message Date
Stephan Seitz
db7f10370d highlights(rust): highlight fields with shorthand_field_initializer 2021-05-24 20:43:31 +02:00
oponkork
038fe717ea feat(fortran): Support indentation 2021-05-23 10:23:49 +02:00
oponkork
6b6bf4db3f feat(fortran): Improve highlighting 2021-05-23 10:23:49 +02:00
Santos Gallegos
9742f188ff HTML: remove @combined from injections 2021-05-23 10:13:41 +02:00
Santos Gallegos
9d1d9b1b94 Rust: highlight constants 2021-05-22 13:17:15 +02:00
Stephan Seitz
b57194325c indents(c/cpp): let C++ use the C indents and add class_specifier
Fixes #1320
2021-05-20 19:37:42 +02:00
Akin Sowemimo
0efa1ec83a feat(dart): add late & required keywords 2021-05-19 23:13:37 +02:00
elianiva
88bd7f5cb3 fix(php): highlights function call expression 2021-05-19 19:41:21 +02:00
Akin Sowemimo
db31158fda fix: uppercase variables being highlighted as type 2021-05-18 23:12:56 +02:00
Akin Sowemimo
3633684b47 feat: replace match with any-of 2021-05-18 23:12:56 +02:00
Akin Sowemimo
d3f5802fba fix: remove duplicate type identifier queries 2021-05-18 23:12:56 +02:00
Akin Sowemimo
bd5fc9a3c9 feat(dart): add async/sync* to highlights 2021-05-18 23:12:56 +02:00
Daniel Kempkens
a98e5c1f4f Refactor highlights and locals queries 2021-05-18 19:10:06 +02:00
Daniel Kempkens
a04b0abf21 Use #any-of? in locals 2021-05-18 19:10:06 +02:00
Daniel Kempkens
e7e1db38cd Initial Elixir support 2021-05-18 19:10:06 +02:00
Stephan Seitz
506e998da2 highlights(c/c++): "..." also exists in C (variadic macros) 2021-05-18 07:07:16 +02:00
elianiva
5d2faa0466 refactor: make html-like languages inherit from single query 2021-05-17 23:38:14 +02:00
Omar Zeghouani
801adf2377 fish: move test to test_command 2021-05-17 23:24:46 +02:00
Stephan Seitz
91a447925c highlights(fortran): @annotation -> @attribute 2021-05-17 21:43:08 +02:00
Mads Kjeldgaard
cb8ad86cb6 supercollider: simplify method 2021-05-17 21:30:40 +02:00
Thomas Vigouroux
ae7c5c9fdb feat(fish): highlight test_option 2021-05-17 20:46:34 +02:00
Stephan Seitz
c6f09ef051 Update queries/commonlisp/highlights.scm
Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
2021-05-17 20:45:31 +02:00
Stephan Seitz
355d1e54ab highlights(commonlisp): use any-of? 2021-05-17 20:45:31 +02:00
Stephan Seitz
048317174c Clojure: Add folds.scm 2021-05-17 20:45:31 +02:00
Stephan Seitz
021196fd6c Clojure/Lisp: Add char_lit to highlights 2021-05-17 20:45:31 +02:00
Stephan Seitz
007aa7ff21 Use @symbol in clojure in commonlisp 2021-05-17 20:45:31 +02:00
Stephan Seitz
64f13eace5 Extend CL highlights 2021-05-17 20:45:31 +02:00
Stephan Seitz
e197736061 Add support for Common Lisp 2021-05-17 20:45:31 +02:00
Stephan Seitz
89d464744b highlights(latex): use any-of? 2021-05-17 20:36:33 +02:00
Stephan Seitz
d89d698c26 highlights(latex): add more math environments
Fix #1293
2021-05-17 20:36:33 +02:00
Stephan Seitz
bb2846fd9b highlights(latex): add more commands 2021-05-17 20:36:33 +02:00
antonk52
68bf36c917 highlights(ecma): use KeywordFunction as a highlight group for function 2021-05-17 19:22:00 +02:00
Stephan Seitz
4dcc3fb4b3 Update queries/php/highlights.scm
Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
2021-05-17 13:27:58 +02:00
Stephan Seitz
fe8264e3f6 highlights/locals(php): rename type_name -> named_type 2021-05-17 13:27:58 +02:00
Omar Zeghouani
71247a4a65 comment: remove @combined 2021-05-17 00:37:32 +02:00
Sergio Alejandro Vargas
d2a5e207b8 Add Julia queries 2021-05-16 21:26:06 +02:00
Sergio Alejandro Vargas
4ad6c526f3 Add do_statement to lua folds 2021-05-16 21:26:06 +02:00
Stephan Seitz
fe4f320b66 highlights(python): use any-of? 2021-05-16 21:13:12 +02:00
Stephan Seitz
efbb1c66d2 highlights(latex): fix regexes with backslashes
https://github.com/neovim/neovim/pull/14382 requires to escape `\` is regexes if they are verbatim `\`

They change in Neovim was incompatible so people that are still behind that revision will have this regex not matching (but it should at least not error)
2021-05-12 01:12:24 +02:00
Pau Ruiz Safont
048682a3ae highlights(ocaml): add hash and sign operators 2021-05-11 23:24:10 +02:00
Camden Cheek
40ffe75bd2
Add config for Dockerfile parser (#1288) 2021-05-11 16:03:36 +00:00
Santos Gallegos
67f0857015 Revert "Comment: use @combined to create just one tree per buffer (#1252)"
This reverts commit 4a7a713c52.
2021-05-07 16:51:57 +02:00
Omar Zeghouani
83f7739071 Add fish queries
Add isatty as builtin

Update function_definition option

Update highlights.scm per review

Fix list indentation

Add maintainer names
2021-05-07 10:12:31 +02:00
Stephan Seitz
2873d1efda highlights(c): highlight (escape_sequence) 2021-05-01 09:39:41 +02:00
Camden Cheek
07fc8cc20e Add go-mod tree-sitter config
Adds a tree-sitter config for go.mod files as well as highlighting
queries.
2021-04-28 17:37:33 +02:00
Stephan Seitz
788d212ab3
locals(js,ts): Add parameters again (#1231) 2021-04-28 07:39:14 -05:00
Santos Gallegos
4a7a713c52
Comment: use @combined to create just one tree per buffer (#1252)
* Comment: use `@combined` to create just one tree per buffer

There is no need to create a tree per line/block for comments.
Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251

* Add injections for scss

* Fix jsonc

* Combine jsdoc
2021-04-28 07:19:07 -05:00
Stephan Seitz
563616738b folds(c): fold at case_statement 2021-04-26 05:15:55 +02:00
Stephan Seitz
98b9e271ba highlights(cpp): highlight namespaces in using declartions 2021-04-26 01:29:22 +02:00
Stephan Seitz
19efc3d8f3 highlights(cpp): reduce number of regexes 2021-04-26 01:18:28 +02:00