Steven Sojka
db033f7239
feat(javascript): move shorthand prop to property
2021-01-26 15:00:35 +01:00
Stephan Seitz
40588da97c
Remove usages of @embedded in highlights
2021-01-06 09:12:32 -05:00
delphinus
0fc8ea0035
Add lacked Javascript operators
2020-12-21 08:55:04 +01:00
Dave Lage
ff1c77b206
Javascript unary expression ( #712 )
...
* javascript: Move unary_expression matching.
* javascript: Move unary_expression matching.
* javascript: Update unary to operator
* javascript: Update qnary to be more specific
2020-12-12 14:47:09 -06:00
rockerBOO
a0b2fab978
javascript: Mark shorthand_property_identifier as variable
2020-11-27 22:20:32 +01:00
Dave Lage
9dd0e3b456
javascript: Add operator to / for division ( #689 )
2020-11-25 14:37:18 -06:00
Dave Lage
3c07232d07
javascript: : in pairs as punctuation.delimiter ( #684 )
...
* javascript: : in pairs as punctuation.delimiter
* javascript: Change pair : to operator
* javascript: Set pair : as punctuation.delimiter
* javacscript: Move pair : to punctuation
2020-11-23 11:07:31 -06:00
rockerBOO
e59a789289
typescript: Add optional_parameter ?
2020-11-22 16:59:58 +01:00
Stephan Seitz
b4ea9dcd3c
Javascript highlights: "..." -> punctuation.special
2020-11-09 20:21:20 +01:00
Stephan Seitz
aeb8c7d9fa
JS highlights: highlight optional parameters
2020-11-09 20:21:20 +01:00
Steven Sojka
e9afbef7ae
Merge pull request #585 from fffed/patch-1
...
js: add query for @parameter
2020-10-27 07:48:30 -05:00
fffed
37f57cc1ec
update comment case for simplefied notation
2020-10-27 08:37:09 +03:00
fffed
040d525946
add destructuring variations
2020-10-27 08:34:45 +03:00
Joosep Alviste
31fca67839
fix(javascript): fix constant variable highlight
...
The `@constant` query gets overwritten by the `@constructor` query. They
both query for variables starting with an uppercase letter, but the
`@constant` query took effect first.
2020-10-23 22:05:27 +03:00
fffed
9ea95e51fc
remove destructuring from @parameter
2020-10-16 07:48:29 +03:00
fffed
5e6716e4be
Add additional queries for @parameter for js
2020-10-15 21:34:52 +03:00
Thomas Vigouroux
c055899dc0
feat(queries): modeline mechanism for base langs
...
This implements https://github.com/neovim/neovim/pull/13059#issuecomment-704414189
This behaves like modelines and remove the use of the base_language map.
Also, this allows to fine-tune what we actually want to include per
query, which is better IMO.
2020-10-11 19:09:22 +02:00
Stephan Seitz
45397ebbd9
fix(highlights): Add TSNamespace highlight
...
Start adding highlights for
- C++
- Rust (including other scoped_identifier/scoped_type_identifier fixes)
- JS (only namespace_import)
Addresses #516
2020-10-10 15:31:51 +02: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
Steven Sojka
2fd3236a92
fix(highlights): add missing js operators
2020-09-10 09:57:09 -05:00
Nathan Smith
05798284ff
@function.method -> @method
2020-08-17 19:30:04 -07:00
Steven Sojka
cab8717959
chore(highlights): remove is predicate usage
2020-08-17 19:27:35 +02:00
kiyan42
20e448882e
some refacto, doc fixes and jsx queries
...
- compute query language extensions *after* default ones
(jsx after javascript)
- remove outdated ts_utils functions from docs
- add better regex detection to javascript
- javascriptreact to use javascript queries
- add javascript.jsx to javascript queries
- write jsx.scm hl file
2020-08-17 17:48:33 +02:00
Steven Sojka
ce43dbf54c
fix(queries): use vim-match for non lua regexes
2020-08-16 18:31:56 +02:00
Steven Sojka
579c9936d6
feat(highlights): add is predicate
2020-08-16 09:04:07 -05:00
Steven Sojka
6157981113
add rest_parameters as definition in javascript
2020-07-22 07:04:06 -05:00
Steven Sojka
a896f5579d
fix(javascript): set booleans to boolean highlights
2020-06-15 15:11:07 -05:00
Steven Sojka
ac8ae3b1c7
feat(queries): add typescript and javascript queries
2020-06-14 13:41:23 -05:00