Commit graph

716 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
fca3001a13 Update Dart parser 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
drocha87
1f98c2e928 Lua things all over the place 2020-11-13 07:47:15 +01:00
drocha87
12064efe2f Fix readme setup example 2020-11-13 07:47:15 +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
Github Actions
54c832033f [docgen] Update README.md 2020-11-09 20:21:20 +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
Thomas Vigouroux
6eca8d2f38 parser: only use parse to get a tree
This will avoid using internal data.
2020-11-03 21:16:51 +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
Stephan Seitz
b83a973382 💣!!! Update lockfile !!! Run TSUpdate! 2020-11-03 20:26:08 +01:00
Stephan Seitz
9327b113c2 feat(install): Enable installation of parser with repo.url as a local path 2020-10-31 23:13:04 +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
dd7900fc44 fix(languagetree): highlight children regardless of starting column 2020-10-30 15:01:42 +01:00
BodneyC
333e1ab776 fix(#620): Fall into the "update-all" branch if lang is "all" 2020-10-28 10:24:58 +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
Stephan Seitz
aa4c3e83e3 Add virtual range for creating node-like objects from multiple nodes 2020-10-26 18:22:19 +01:00
Stephan Seitz
c3b526fe51 feat(install): add "maintained" option to only install maintained parsers
Unmaintained parsers only give users little benefit but take sometimes a
a long time to install (e.g. Markdown, Julia, Haskell parser). We could
recommend to only install maintained parsers by default.
2020-10-26 12:42:10 +01:00
kyazdani42
04ff77442a show [treesitter] during install 2020-10-24 15:11:01 +02:00
Stephan Seitz
402795997c feat: add TSConfigInfo to display current config
https://nvim-treesitter.zulipchat.com/#narrow/stream/252271-general/topic/Random/near/210929394
2020-10-24 10:40:12 +02: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
Steven Sojka
2a578e20c2
Merge pull request #612 from JoosepAlviste/master
fix(javascript): fix constant variable highlight
2020-10-23 14:40:57 -05: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
Stephan Seitz
d1796695ac Remove textobjects from contributing 2020-10-23 12:41:50 +02:00
Github Actions
26142b3e3a [docgen] Update README.md
skip-checks: true
2020-10-22 10:42:03 +02:00
Thomas Vigouroux
d42b9c38f8 fix(markdown): remove from parser list
Bye bye markdown
2020-10-22 10:42:03 +02:00
Thomas Vigouroux
801416a8bc fix(markdown): disable highlighting
The markdown scanner errors out far too often to be usable, disabling it
by default would avoid many issues until those assertion errors are
fixed.
2020-10-22 10:42:03 +02:00
Santos Gallegos
72f5d72413 LanguageTree: don't error when injecting a language 2020-10-21 16:20:52 +02:00
Thomas Vigouroux
e9129eee49 fix(languagetree): avoid language self-injection
This avoids some stack overflows when a language includes itself.
This is a temporary solution, and will be addressed later when actually
managing our own parsers.
2020-10-21 08:36:23 +02:00
Chinmay Dalal
6d352a0efc
Add lua params (#605)
* Add lua params

* Fix

* Remove redundant outer
2020-10-21 06:46:05 +02:00
Github Actions
0f43bd9293 [docgen] Update README.md 2020-10-20 16:33:13 +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
Stephan Seitz
3160a19de3 Fix #595, #583: do not set defaults for highlights that have no default highlighting 2020-10-19 23:03:16 +02:00