Commit graph

312 commits

Author SHA1 Message Date
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
Jędrzej Boczar
42bc217a54 indent: fix wrong line number passed to descendant_for_range 2021-01-14 13:54:43 +01:00
Thomas Vigouroux
4538a876b4 Revert "added attach async" 2021-01-14 13:26:43 +01:00
Thomas Vigouroux
7edf1d1c2b fix(highlight): fix detach function
Fixes #798
2021-01-14 12:11:32 +01:00
Thomas Vigouroux
a48c440f2b fix(highlight): remove unneeded query management 2021-01-14 12:11:32 +01:00
Brian Shu
28f2ba475f fixed not highlighting bug 2021-01-08 16:16:33 +01:00
Brian Shu
6856e23171 removed async changedtick 2021-01-08 16:16:33 +01:00
Brian Shu
33d5a03322 async buf_attach 2021-01-08 16:16:33 +01:00
Brian Shu
03fea8494c removed async changedtick 2021-01-07 11:16:16 +01:00
Brian Shu
ec5f1402e2 async buf_attach 2021-01-07 11:16:16 +01:00
Brian Shu
e0b49a9a18 added attach async 2021-01-07 11:16:16 +01:00
BonaBeavis
a0f03ec333 Add turtle 2021-01-05 16:52:49 +01:00
kiyan42
f2c219cddc indent fixes 2021-01-04 17:42:19 +01:00
Stephan Seitz
e0c5c7d419 Add maintainers for Julia 2021-01-03 19:05:02 +01:00
TJ DeVries
5236768c33 add gdscript 2020-12-31 14:27:43 +01:00
BonaBeavis
e934c5508a Add SPARQL
Signed-off-by: BonaBeavis <gordian.dziwis@gmail.com>
2020-12-30 17:51:44 +01:00
delphinus
b938e4f0fe Remove deprecated highlights 2020-12-21 22:32:17 +01:00
Steven Sojka
e602f1b22b fix(query): add noop handler for make-range 2020-12-18 16:40:58 +01:00
Senghan Bright
d3180720f1 fix: support shiftwidth for indents. 2020-12-16 11:43:03 +01:00
Github Actions
d8f75f0b09 [docgen] Update README.md
skip-checks: true
2020-12-12 19:04:43 +01:00
Stephan Seitz
6142223557 Add fix for vim.fn.executable(vim.NIL)
This might be a hard error in future:
https://github.com/neovim/neovim/issues/13485
7bb4e74c38
2020-12-12 15:25:27 +01:00
Stephan Seitz
a5a268df27 Pin Erlang parser 2020-12-10 18:51:08 +01:00
Okan Esen
41ddc39f86 fix erlang parser installation 2020-12-10 17:30:48 +01:00
Leandro Ostera
14c687a6bb Add Erlang parser to list 2020-12-10 11:18:17 +01:00
Luis Carlos Cruz Carballo
76486942e7 Allow user configure parsers using metatables 2020-12-09 19:11:41 +01:00
li
66d35f9357 fix: find parsers correctly
Explicitely installed parsers will not be found implicitely
2020-12-09 08:46:59 +01:00
rockerBOO
d8d90909a9 typo 2020-12-07 21:50:47 +01:00
rockerBOO
3a337e0b3c cleanup: Add additional context 2020-12-07 21:50:47 +01:00
rockerBOO
07e86b1553 docs: Update docs for missing groups, re-order alphabetically 2020-12-07 21:50:47 +01:00
Stephan Seitz
3727be629c Remove 'CI' guard (we can have now the newest version of nvim again) 2020-12-07 13:30:45 +01:00
Tormod Alf Try Tufteland
18fadcfd4b add readme and more correct highlight captures 2020-12-06 15:08:51 +01:00
Tormod Alf Try Tufteland
d90a4621a3 add kotlin parser and highligh-queries 2020-12-06 15:08:51 +01:00
Stephan Seitz
bdabf38a59 Fix: Print message when TSUpdate has nothing to do 2020-11-29 16:37:09 +01:00
Bryan Kegley
4cc4c6f8b1 feat: add graphql grammar 2020-11-27 14:06:27 +01:00
Stephan Seitz
25bf605940 Only update outdated_parsers on TSUpdate 2020-11-25 08:04:54 +01:00