antonk52
90f15d9bf7
feat(keywords) merge return and yield into keyword.return group
2021-07-04 21:49:17 +02:00
antonk52
bd9095e969
feat(keywords) add keyword.return & keyword.yield
2021-07-04 21:49:17 +02: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
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
1d5f928279
highlights(java): add new keyword "yield"
...
https://github.com/tree-sitter/tree-sitter-java/pull/78 added support
for enhanced switch statements
2021-04-17 20:58:41 +02:00
Stephan Seitz
7e9e8f2af9
Add support for Java records
...
Ref: https://github.com/tree-sitter/tree-sitter-java/pull/73
2021-04-10 12:27:54 +02:00
Stephan Seitz
2331a36693
highlights(java): Highlight fields (members and member access) ( #1107 )
2021-03-26 13:25:28 -05:00
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags ( #893 )
...
Closes #236
2021-03-12 11:21:46 -05:00
elianiva
0bf8f58cd2
feat: use @ignore for comments and multiline strings
2021-03-01 23:28:53 +01:00
elianiva
1ab424d384
add formal_parameters
...
as suggested by p00f
Co-authored-by: Chinmay Dalal <chinmay.dalal.22012001@gmail.com>
2021-02-21 15:08:50 +01:00
elianiva
a1b51a67d5
feat: add java indent
2021-02-21 15:08:50 +01:00
Stephan Seitz
eaca722783
highlights(java): Highlight spread parameters
2021-02-19 23:41:42 +01:00
Stephan Seitz
5033d3668a
highlights(java): fix constant highlighting (only UPPERCASE_LETTERS)
2021-02-19 23:41:42 +01:00
Chinmay Dalal
d2b8b49ce5
Ternary
2020-11-19 12:45:10 +01:00
Stephan Seitz
624a6896b5
chore(java): remove duplicate line
2020-09-19 10:42:30 -05:00
Stephan Seitz
7e3c4f8089
Add @keyword.operator for operators that are English words and add @exception for Java/JS
2020-09-19 07:30:49 +02:00
Stephan Seitz
bcf421b4e7
Fix #307 : Use and document TSVariable/TSVariableBuiltin in all languages
2020-09-14 18:27:20 +02:00
Thomas Vigouroux
b90e520ccd
ci: fix wrong queries
2020-09-11 12:02:35 +02:00
Steven Sojka
ce43dbf54c
fix(queries): use vim-match for non lua regexes
2020-08-16 18:31:56 +02:00
Chinmay Dalal
64df3e1791
[java] Add label highlight
2020-08-16 09:58:33 +02:00
Steven Sojka
7806b16cc2
fix(java): add lambdas as a scope
2020-08-12 21:20:54 +02:00
Stephan Seitz
4f4c4ff6ef
Java locals: use has-ancestor? to match imports
2020-07-27 11:08:13 +02:00
Stephan Seitz
4a77ac78d0
Java highlights/locals: Add catch_formal_parameter
2020-07-27 11:08:13 +02:00
Stephan Seitz
35837b069b
Java highlights: Add highlight for this
2020-07-27 11:08:13 +02:00
Chinmay Dalal
656a5c4064
Add Java locals
...
Co-authored: @PitcherTear22
2020-07-27 11:08:13 +02:00
Stephan Seitz
61803eb523
Java highlights: Add binary integer literals
2020-07-01 13:22:46 +02:00
Stephan Seitz
2b6b1e3e61
Java highlights: Add operators ":" "?"
2020-06-30 08:32:19 +02:00
Stephan Seitz
fa7a270da1
Java highlights: Add parameter highlight for single-parameter lambdas
2020-06-30 08:32:19 +02:00
Chinmay Dalal
65b3a8e6d7
Add method reference operator
2020-06-29 19:58:39 +02:00
Chinmay Dalal
b184f1cafb
Java highlights: Capture parameters in declaration ( #93 )
...
* Capture parameters in declaration
* Refactor (new syntax)
* Fix spaces
* Fix capture (java method parameters)
* Improve java parameter capture
* Fix bracket and whitespace
* Fix java query
* Fix java query
Co-authored-by: Thomas Vigouroux <39092278+vigoux@users.noreply.github.com>
* Add capture for lambda parameters, remove redundant captures, add -> operator
* Previous commit wasn't saved properly
* Fix formatting
* Changes suggested in PR
https://github.com/nvim-treesitter/nvim-treesitter/pull/93#pullrequestreview-435630553
* Add bitwise operators
* Re-add builtin operators
* remove left shift, add ^=
* Add &= and |=
* remove @variable
* Remove duplicate
Co-authored-by: Thomas Vigouroux <39092278+vigoux@users.noreply.github.com>
2020-06-29 10:48:13 +02:00
Chinmay Dalal
031e3e45c4
Give credits
2020-06-17 18:01:53 +05:30
Chinmay Dalal
3302dd3a5b
Give credits
2020-06-17 18:01:29 +05:30
Chinmay Dalal
a6c426b2bd
Fix types
2020-06-15 23:23:17 +05:30
Chinmay
d262d4101e
Add operators
2020-06-15 22:45:56 +05:30
Chinmay
042464c1c5
Fix method highlighting
2020-06-15 21:48:50 +05:30
Chinmay
d9639e1e5e
Add highlights.scm and locals.scm
2020-06-11 22:31:45 +05:30