Chinmay Dalal
0f4ee7af72
Merge branch 'master' into master
2020-06-29 17:25:57 +05:30
Chinmay Dalal
6478431f7c
Add method reference operator
2020-06-29 17:22:19 +05:30
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
5468fa6264
Remove duplicate
2020-06-28 19:06:23 +05:30
Chinmay Dalal
5863b05d2d
remove @variable
2020-06-28 18:07:37 +05:30
Chinmay Dalal
2f5ffbadc2
Add &= and |=
2020-06-28 17:00:00 +05:30
Chinmay Dalal
5937c177ca
remove left shift, add ^=
2020-06-28 16:51:03 +05:30
Chinmay Dalal
c856258f62
Re-add builtin operators
2020-06-28 16:20:21 +05:30
Stephan Seitz
54438439e6
C highlights: Add highlight for #elif
2020-06-28 12:15:09 +02:00
Chinmay Dalal
f563803440
Add bitwise operators
2020-06-28 15:28:22 +05:30
Stephan Seitz
2d224ac3bf
Fix cpp-highlights: wrong capture name used in regex
2020-06-26 19:37:12 +02:00
Stephan Seitz
75bce1dc93
Python highlights: Reset highlighting in f-string interpolation
...
This solution is preferable to `(identifier) @Normal` since otherwise
everything without highlight will use string-highlighting.
2020-06-26 13:52:59 +02:00
Stephan Seitz
88c8b70560
Python highlights: Add walrus operator
2020-06-26 13:52:59 +02:00
Chinmay Dalal
577141bc34
Changes suggested in PR
...
https://github.com/nvim-treesitter/nvim-treesitter/pull/93#pullrequestreview-435630553
2020-06-24 14:50:41 +05:30
Stephan Seitz
dfead6caca
Adapt Python highlights to new query syntax
2020-06-24 10:07:22 +02:00
TravonteD
51a52b85cf
add highlight queries for bash
2020-06-23 16:15:19 +02:00
Chinmay Dalal
665b30cbf8
Fix formatting
2020-06-23 19:34:40 +05:30
Chinmay Dalal
639ffd3e72
Previous commit wasn't saved properly
2020-06-23 19:00:35 +05:30
Chinmay Dalal
0b9d19a640
Add capture for lambda parameters, remove redundant captures, add -> operator
2020-06-23 16:34:56 +05:30
Chinmay Dalal
706c489a1b
Fix java query
...
Co-authored-by: Thomas Vigouroux <39092278+vigoux@users.noreply.github.com>
2020-06-23 13:17:49 +05:30
TravonteD
09c2e6e0a7
Fix the ":" in symbols when used in pairs
...
This fixes the colon not being highlighted when a symbol is represented
in a pair like so:
symbol: true
2020-06-23 09:28:32 +02:00
Chinmay Dalal
9a5fbd1a3a
Fix java query
2020-06-23 11:48:23 +05:30
Chinmay Dalal
bab7fd76f2
Fix bracket and whitespace
2020-06-21 23:36:02 +05:30
Chinmay Dalal
f7ee3b76d1
Improve java parameter capture
2020-06-21 23:34:28 +05:30
Chinmay Dalal
3364a303e4
Fix capture (java method parameters)
2020-06-21 23:32:32 +05:30
Stephan Seitz
a85cf1a47c
Add highlighting of dunder identifiers (e.g. __all__, __add__) to Python highlights
2020-06-21 17:00:17 +02:00
Stephan Seitz
969d496f3f
Merge pull request #72 from doubleloop/python
...
Updated python highlights
2020-06-21 16:22:53 +02:00
Jakub Łuczyński
0b4d4b4140
Updated python highlights
...
* allow for digits in constant names
* removed redundant/conflicting rules
* added missing hlmap
* fixed escape_sequence
* more explicit @constructor assignment
* added rules for function decoration identifiers
2020-06-21 00:11:58 +02:00
TravonteD
0f836e0602
refactor: use newly introduced consolidated syntax
2020-06-20 09:03:39 -04:00
Chinmay Dalal
a188d4ff91
Fix spaces
2020-06-20 17:12:07 +05:30
Chinmay
40cc924bf4
Refactor (new syntax)
2020-06-20 17:08:04 +05:30
Chinmay Dalal
7372837300
Capture parameters in declaration
...
Idk if it is needed in invocation
2020-06-20 12:46:00 +05:30
Thomas Vigouroux
772aa4c169
Merge pull request #88 from PitcherTear22/master
...
Give credits for java queries
2020-06-17 18:19:19 +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
Kiyan Yazdani
81e8f3dbc2
Merge pull request #87 from steelsojka/fix/js-boolean-fix
...
fix(javascript): set booleans to boolean highlights
2020-06-15 23:15:15 +02:00
Kiyan Yazdani
470b88279c
Merge pull request #86 from steelsojka/feat/json
...
feat(lang): add json highlights
2020-06-15 23:14:45 +02:00
Steven Sojka
7bc746f3f0
feat(lang): add json highlights
2020-06-15 15:24:05 -05:00
Steven Sojka
a896f5579d
fix(javascript): set booleans to boolean highlights
2020-06-15 15:11:07 -05:00
Thomas Vigouroux
79556b4155
Merge pull request #85 from PitcherTear22/master
...
Add java support
2020-06-15 20:26:09 +02:00
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
Steven Sojka
a600be80b6
chore(queries): use inherited queries for ts/js
2020-06-15 08:53:49 -05:00
Steven Sojka
4551b0e1c9
Merge branch 'master' into feat/typescript-queries
...
* master:
Change regexes in C/C++ highlights
Update C/C++ highlights to new query syntax
Add better highlighting for preprocessor functions in C highlights
Add operators /=,*=,|=,&= to C highlights
Add compound_statement to c queries
Add punctuation.bracket/punctuation.delimiter to C highlights
Make =,~,! operators in C highlights
Add cpp/locals.scm
Add @error highlight to c/highlights.scm
Add C++ highlights.scm
Introduce base languages for queries
Add tree-sitter-regex
feat(queries): allow for user overrides
Update issue templates
2020-06-15 07:05:20 -05:00
Stephan Seitz
8bc00cf02a
Change regexes in C/C++ highlights
2020-06-15 11:51:28 +02:00
Stephan Seitz
a5fc7b13cc
Update C/C++ highlights to new query syntax
2020-06-15 11:51:28 +02:00
Stephan Seitz
e46baab8ca
Add better highlighting for preprocessor functions in C highlights
2020-06-15 11:51:28 +02:00
Stephan Seitz
d88db9d718
Add operators /=,*=,|=,&= to C highlights
2020-06-15 11:51:28 +02:00
Stephan Seitz
95f4e10a62
Add compound_statement to c queries
2020-06-15 11:51:28 +02:00