Commit graph

546 commits

Author SHA1 Message Date
Stephan Seitz
dbeebe94d8 Dart, Svelte no longer requires_generate_from_grammar 2021-03-16 18:52:43 +01:00
Stephan Seitz
0b67258711 Downgrade glimmer to the 0.19.0 version 2021-03-16 18:52:43 +01:00
Stephan Seitz
fac9fef397 Update jsonc to 0.19.0 2021-03-16 18:52:43 +01:00
Stephan Seitz
85d7d810cb Remove verilog parser 2021-03-16 18:52:43 +01:00
Stephan Seitz
4af5fef1d9 Fixup CI 2021-03-16 18:52:43 +01:00
Stephan Seitz
f134df49e9 Add ocamllex to needs_generate 2021-03-16 18:52:43 +01:00
Stephan Seitz
3cc57cd3fa Fix clojure 2021-03-16 18:52:43 +01:00
Stephan Seitz
c573cdd0a9 Add CI hack 2021-03-16 18:52:43 +01:00
Stephan Seitz
532a369b32 Mark parsers with NPM dependency 2021-03-16 18:52:43 +01:00
Stephan Seitz
fcb6d74b6b Make parsers that require "TSGenerateFromGrammar" 2021-03-16 18:52:43 +01:00
Stephan Seitz
1f9ca9664b Update parsers 2021-03-16 18:52:43 +01:00
echasnovski
773ec8eefc Add support for R language. 2021-03-16 18:52:43 +01:00
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags (#893)
Closes #236
2021-03-12 11:21:46 -05:00
bitcoder
ec41db9511 update tips in healthcheck 2021-03-09 00:45:50 +01:00
bitcoder
7760f08658 add treesitter version in checkhealth 2021-03-09 00:45:50 +01:00
Jozef Grajciar
c7422dd257 Add Windows support for cl.exe
Co-authored-by: Stephan Seitz <stephan.seitz@fau.de>
2021-03-04 19:58:58 +01:00
Dennis B
aca33c0aca [highlights] Add TSSymbol highlight group
Addresses issue #892

Ruby and Dart literal symbols will now be highlighted by the new
TSSymbol highlight group, which itself will, by default, link to the Vim
Identifier highlight group. Vim theme authors can then set their
TSSymbol colors.

Symbol highlighting can apply to a number of languages as noted in the
following Wikipedia page: https://en.wikipedia.org/wiki/Symbol_(programming)

Not just for Ruby and Dart.
2021-03-04 06:19:40 +01:00
Stephan Seitz
06660a73a7 Fix: Allow repo.url to end in ".git" 2021-03-02 12:46:43 -05:00
Stephan Seitz
1df50b3435 Fix #972: Add tar-download support for Gitlab 2021-03-02 16:55:18 +01:00
kiyan
21799c9ed6 fix: add used_by in parser setter 2021-03-01 20:06:40 +01:00
NullVoxPopuli
4868c2117f Add branch to glimmer config 2021-03-01 01:02:09 +01:00
NullVoxPopuli
3568e54669 Add glimmer parser 2021-03-01 01:02:09 +01:00
kiyan
9d57216c0d chore: remove useless code and indent files 2021-02-27 13:36:33 +01:00
elianiva
a73e200abf feat: add support for svelte 2021-02-23 16:27:16 +01:00
kiyan
9e5fb44f84 health: add legend for x icon in query health 2021-02-22 23:32:11 +01:00
kiyan
dbe5441918 chore: rewrite healthcheck for compact output 2021-02-22 23:32:11 +01:00
BonaBeavis
be9c4ab36d Fix indent size 2021-02-22 18:17:46 +01:00
echasnovski
079dafa36e Add "v", "V", "<C-v>" as valid options of selection_mode. 2021-02-21 20:25:26 +01:00
echasnovski
a34459213e Add selection_mode argument to ts_utils.update_selection(). 2021-02-21 20:25:26 +01:00
Hugo Osvaldo Barrera
5757f8a50d List myself as the Vue maintainer 2021-02-17 14:43:32 +01:00
Hugo Osvaldo Barrera
6f25f2d8af List myself as maintainer for JSONC 2021-02-17 09:48:07 +01:00
Hugo Osvaldo Barrera
b811344574 Add README description for JSONC 2021-02-17 09:48:07 +01:00
Hugo Osvaldo Barrera
33a7a694d9 Add support for JSONC 2021-02-15 21:45:16 +01:00
Stephan Seitz
0940d15514 Fix parser config for nix 2021-02-12 08:22:34 +01:00
Stephan Seitz
db0ccfe9ab fix: remove debug print on query cache invalidation
The message does not even provide any context where it's coming from
and what it is exactly doing and has to be acknowledged when printed in
conjunction with the "wrote xxx bytes message"
2021-02-11 20:42:51 +01:00
Santos Gallegos
b86555d9c3 HTML: improve highlights & injections 2021-02-11 07:42:19 +01:00
Mads Kjeldgaard
cabd01a5d8 Remove second addition of supercollider 2021-02-10 22:21:17 +01:00
Mads Kjeldgaard
1f7db48523 Add supercollider support 2021-02-10 22:21:17 +01:00
Mads Kjeldgaard
b8a2d45fa8 Add supercollider parser to list of parsers 2021-02-10 22:21:17 +01:00
Jędrzej Boczar
517c62d3e5
Add devicetree parser with queries (#900)
* Add devicetree parser with queries

* [docgen] Update README.md
skip-checks: true

* queries/devicetree: update highlight capture groups

* minor fix in CONTRIBUTING.md

* Revert "minor fix in CONTRIBUTING.md"

This reverts commit 23622b49db.

* queries/devicetree: add self as maintainer

* [docgen] Update README.md
skip-checks: true

Co-authored-by: Github Actions <actions@github>
2021-02-10 22:18:38 +01:00
yzia2000
839f621955 fixed #630 2021-02-04 20:22:57 +01:00
echasnovski
fdfbb5c1bf Implement TSToggleAll. 2021-02-01 19:37:39 +01:00
echasnovski
8e2807d09e Implement TSBufToggle. 2021-02-01 19:37:39 +01:00
Stephan Seitz
2a2c5918ff parsers: change repo link of Elm parser to the new official repo
Follow https://github.com/tree-sitter/tree-sitter/pull/907
and change the link of the Elm parser to the elm-tooling namespace.
2021-02-01 19:02:53 +01:00
Cédric Barreteau
459173e5c7 Add ledger parser, folds and highlights queries 2021-01-31 10:44:45 +01:00
oberblastmeister
64ffea57f4
feat(query): add cache for get_query (#879)
* added cached to get_query

* added reload function

* fixed message

* added autocommand to reload cache on bufwrite for query file

* pass filename to autocommand v:lua fn

* removed comment

* added metatable

* fixed loop

* Update lua/nvim-treesitter/query.lua

Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>

* Update lua/nvim-treesitter/query.lua

Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>

* added do ... end to local query_cache

* made line shorter

Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
2021-01-28 19:56:55 +01:00
Stephan Seitz
9f12ad1142 Fix "nth?" predicate 2021-01-20 10:39:21 +01:00
Jędrzej Boczar
252472081e indent: introduce @ignore to avoid indenting some nodes (e.g. comments) 2021-01-14 13:54:43 +01:00
Jędrzej Boczar
5123231424 indent: introduce @return to further tune indentation on o/<cr> 2021-01-14 13:54:43 +01:00
Jędrzej Boczar
32cc79b7c9 indent: improve behavior on o/<cr> in languages like Python 2021-01-14 13:54:43 +01:00