Commit graph

34 commits

Author SHA1 Message Date
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
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
3362f45196 Remove textobjects module 2020-10-04 14:20:20 +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
Santos Gallegos
50991e370b Folds: rename query files to folds.scm to be consistent
We use plural names for all query files except folds.
2020-09-14 18:26:30 +02:00
Steven Sojka
2fd3236a92 fix(highlights): add missing js operators 2020-09-10 09:57:09 -05:00
kyazdani42
8d6c40ce24 fix using highlight query extension for every query type 2020-09-07 21:57:56 +02:00
Steven Sojka
02735aae55 feat(folds): add ts and js folds 2020-09-06 17:20:43 +02:00
Steven Sojka
fd356a2670 fix(locals): js add arrow function parameter as definition 2020-09-02 17:26:17 +02:00
Steven Sojka
a8ec43da64 fix(locals): add js namespace import as definition 2020-08-26 14:14:20 +02:00
Nathan Smith
05798284ff
@function.method -> @method 2020-08-17 19:30:04 -07:00
Steven Sojka
54b485ba7b
Merge pull request #319 from kyazdani42/feat/add-jsx-fragment-and-self-closing
add jsx fragment and jsx self closing element highlights
2020-08-17 14:25:53 -05:00
Steven Sojka
cab8717959 chore(highlights): remove is predicate usage 2020-08-17 19:27:35 +02:00
kiyan42
9c8c01dc0f add jsx fragment and jsx self closing element highlights 2020-08-17 18:35:15 +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
4a747aa30c
Merge pull request #296 from steelsojka/feat-is-predicate
feat(highlights): add is predicate
2020-08-16 11:27:15 -05:00
Steven Sojka
7f7219b379 feat(definitions): allow setting of scope 2020-08-16 09:10:09 -05:00
Steven Sojka
579c9936d6 feat(highlights): add is predicate 2020-08-16 09:04:07 -05:00
Steven Sojka
e5434fc21e fix(locals): add shorthand identifiers as references and definitions 2020-08-14 14:22:05 +02:00
Shirasaka
f372e2ab87 Add PHP, TOML, and update HTML, javascript queries
- PHP         : Add highlights and locals query
- TOML        : Add highlights and locals query
- HTML        : Add scope
- javascript  : Add some scopes
2020-08-04 08:05:51 +02:00
Steven Sojka
e821349661 add js textobject queries 2020-07-22 23:41:57 +02:00
Steven Sojka
6157981113 add rest_parameters as definition in javascript 2020-07-22 07:04:06 -05:00
Stephan Seitz
b6df2329bd Introduce @definition.import for Python/Javascript 2020-07-08 18:00:35 +02:00
Steven Sojka
e4cd88baa4 feat(javascript): add import specifier as definition 2020-07-01 22:12:15 +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
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