Stephan Seitz
|
b480d25155
|
feat(textobjects): Add start to include preceding things like documentation
|
2020-07-15 20:12:52 +02:00 |
|
Stephan Seitz
|
5e83307a43
|
Add C/C++ textobjects
|
2020-07-14 22:34:43 +02:00 |
|
Stephan Seitz
|
d685d82682
|
Add Python textobjects
|
2020-07-14 22:34:43 +02:00 |
|
Stephan Seitz
|
69cabc69be
|
Add textobjects module
|
2020-07-14 22:34:43 +02:00 |
|
Stephan Seitz
|
faa413287c
|
Cpp locals: Fix syntax
|
2020-07-13 23:29:15 +02:00 |
|
Stephan Seitz
|
a027ffbe82
|
Add rust locals.scm
|
2020-07-13 22:25:33 +02:00 |
|
Stephan Seitz
|
f803c74ebc
|
C/C++ highlights: Small improvements for type definitions
|
2020-07-13 21:29:49 +02:00 |
|
Thomas Vigouroux
|
7bb0d7548d
|
highlight(c): fix booleans and types
|
2020-07-09 14:48:39 +02:00 |
|
Stephan Seitz
|
a5fb463309
|
Python locals: with_statement can define variables
|
2020-07-09 14:38:08 +02:00 |
|
Stephan Seitz
|
c361d65113
|
Python highlights: Surround type subscript query with (type ...)
|
2020-07-09 10:00:41 +02:00 |
|
Thomas Vigouroux
|
3faaeb479b
|
locals(lua): simplify args
|
2020-07-08 22:16:53 +02:00 |
|
Thomas Vigouroux
|
f9844d359e
|
highlight(lua): fix overlapping queries
|
2020-07-08 22:16:53 +02:00 |
|
Stephan Seitz
|
b6df2329bd
|
Introduce @definition.import for Python/Javascript
|
2020-07-08 18:00:35 +02:00 |
|
Stephan Seitz
|
0e80b89935
|
Highlight complete type definition
|
2020-07-08 17:47:44 +02:00 |
|
Stephan Seitz
|
dc324e44ad
|
Python locals/highlights: Parameters can be optionally typed
|
2020-07-08 17:47:44 +02:00 |
|
Thomas Vigouroux
|
0d2385407e
|
Add Rust queries (#57)
* queries(rust): add highlight query.
Also slightly changes the way constructors are highlighted.
* highglight(rust): use new query syntax
|
2020-07-08 12:35:53 +02:00 |
|
Stephan Seitz
|
63c1853674
|
C/C++ highlights: update to new syntax
This changed the highlight of "switch" to conditional and of "break" to repeat.
|
2020-07-05 19:48:02 +02:00 |
|
Stephan Seitz
|
07cd0b4d8c
|
C++ locals: Add reference_declarator (analogous to pointer_declarator for C locals)
|
2020-07-04 21:03:48 +02:00 |
|
Steven Sojka
|
e4cd88baa4
|
feat(javascript): add import specifier as definition
|
2020-07-01 22:12:15 +02:00 |
|
Thomas Vigouroux
|
e8af62c843
|
locals(lua): capture function definition params
|
2020-07-01 14:46:55 +02:00 |
|
Thomas Vigouroux
|
d15210b22f
|
highlights(lua): update query to new syntax
|
2020-07-01 14:46:55 +02:00 |
|
Stephan Seitz
|
61803eb523
|
Java highlights: Add binary integer literals
|
2020-07-01 13:22:46 +02:00 |
|
Thomas Vigouroux
|
255d1756b0
|
highlights(c): highlight ternary as conditional
|
2020-06-30 08:54:54 +02:00 |
|
Stephan Seitz
|
d724073401
|
C highlights: Make ? an operator in c highlights
|
2020-06-30 08:54:54 +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 |
|
Steven Sojka
|
d73500eaa6
|
refactor(refactor): use higher local apis and some cleanup
|
2020-06-30 08:21:01 +02:00 |
|
Steven Sojka
|
058e8d2296
|
feat(refactor): highlight usages module
|
2020-06-30 08:21:01 +02:00 |
|
kiyan42
|
180ad9a1a8
|
add python async
|
2020-06-30 08:15:51 +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 |
|
Stephan Seitz
|
54438439e6
|
C highlights: Add highlight for #elif
|
2020-06-28 12:15:09 +02:00 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|