Commit graph

312 commits

Author SHA1 Message Date
zegervdv
7fa67b490f Improve highlighting for generate blocks 2020-11-16 18:43:00 +01:00
zegervdv
2fd50be1d6 Add folds for begin/end blocks, functions and tasks 2020-11-16 18:43:00 +01:00
Stephan Seitz
1058c11f46 Dart: Highlight escape sequences 2020-11-15 10:27:25 +01:00
Stephan Seitz
f92978e409 Dart: Highlight identifier_dollar_escaped 2020-11-15 10:27:25 +01:00
rockerBOO
7566d397d4 Add type delimiters | &, Add optional type ? 2020-11-15 10:24:46 +01:00
rockerBOO
d8d2eefa01 Add additional punctuation, variable descriptors for Typescript 2020-11-15 10:24:46 +01:00
Alvaro Muñoz
16fcbd1824 More improvements 2020-11-12 08:11:06 +01:00
Alvaro Muñoz
6716ba9479 QL: support modules 2020-11-12 08:11:06 +01:00
Alvaro Muñoz
b4ec3ae3f5 improce type highlighting 2020-11-11 16:39:22 +01:00
Chinmay Dalal
484e6aa680 [clojure] add punctuation.bracket 2020-11-10 18:01:12 +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
Alvaro Muñoz
6900e5f704 minor improvments for QL 2020-11-07 01:11:37 +01:00
sogaiu
6e80f426bf Add incremental selection support 2020-11-04 10:23:20 +01:00
sogaiu
0f80b7d390 Add initial clojure support 2020-11-04 10:23:20 +01:00
Stephan Seitz
f999dc4113 💣 !! Use TSUpdate !! Fix ruby queries 2020-11-03 20:26:08 +01:00
Stephan Seitz
1e0ab0b885 Fix Python queries for parser update 2020-11-03 20:26:08 +01:00
Claudia Hardman
62551bca4e Add folds for Go
The default behavior in which `@scope` captures were folded resulted in
toplevel fold for an entire source file, which was mildly irritating.
2020-10-31 23:11:23 +01:00
Steven Sojka
d9454afd93 feat(js): add jsdoc lang injection 2020-10-27 14:08:14 +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
davidroeca
f925408640 use for first identifier in jsx nested_identifier 2020-10-23 22:53:23 +02:00
davidroeca
dafe947ecd handle jsx components with dot in them 2020-10-23 22:53:23 +02: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
Chinmay Dalal
6d352a0efc
Add lua params (#605)
* Add lua params

* Fix

* Remove redundant outer
2020-10-21 06:46:05 +02:00
Zeger Van de Vannet
392c4b978b Add verilog/systemverilog queries 2020-10-20 16:33:13 +02:00
Pau Ruiz Safont
d7e384a092 feat(ocamllex): use injections for ocaml 2020-10-20 10:06:44 +02:00
kiyan42
1735528db5 Treesitter indent
also fixes the memoize_by_buf_tick function
2020-10-19 21:08:15 +02:00
Thomas Vigouroux
f7d92f663c feat(languagetree): implement language tree
Allow the LanguageTree to be used as an option for highlighting.

Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
Co-authored-by: Yazdani Kiyan <yazdani.kiyan@protonmail.com>
2020-10-19 18:28:45 +02:00
Sam Bernheim
7f3276450b feat(folds): add catch_clause to js folds 2020-10-16 20:23:45 +02:00
sbernehim4
be2bb166c8 feat: add more javascript folds 2020-10-16 20:23:45 +02:00
fffed
9ea95e51fc
remove destructuring from @parameter 2020-10-16 07:48:29 +03:00
Mike
1f3999234a feat: Add more lua folds
Add repeat_statement to lua folds
2020-10-15 21:01:18 +02:00
fffed
5e6716e4be
Add additional queries for @parameter for js 2020-10-15 21:34:52 +03:00
Stephan Seitz
1a62b97ccd C++ highlights: highlight all kinds of optional parameters
declarator can be a identifier, a reference or a pointer
2020-10-13 19:48:42 +02:00
Stephan Seitz
7c96582ef1 Ruby highlights: reset highlight on interpolation
@TravonteD
2020-10-12 13:26:51 +02: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
Corey Williamson
73ef705eb2 Fix typearg brackets not highlighting for multiple typeargs 2020-10-05 12:02:59 +02:00
Corey Williamson
85791a4316 Set function scope 2020-10-05 12:02:59 +02:00
euclidianAce
0aa4940f8b Update queries/teal/highlights.scm
Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
2020-10-05 12:02:59 +02:00
Corey Williamson
c2acddd651 Add teal parser 2020-10-05 12:02:59 +02:00
Stephan Seitz
93f9708a3c Dart highlights: Reset highlight in interpolation 2020-10-05 06:37:31 +02:00
Pau Ruiz Safont
f7126fe54b fix(ocaml): highlight characters as such 2020-10-04 14:33:29 +02:00
Pau Ruiz Safont
f1c272676b feat: add ocamllex parser and highlights 2020-10-04 14:33:29 +02:00
Stephan Seitz
3362f45196 Remove textobjects module 2020-10-04 14:20:20 +02:00
Alvaro Muñoz
5debe93133 make query-checker happy 2020-10-01 06:26:59 +02:00
Alvaro Muñoz
9e09ce6c8e change module to namespace 2020-10-01 06:26:59 +02:00
Alvaro Muñoz
a5dccb0ac7 CodeQL locals.scm queries 2020-10-01 06:26:59 +02:00