Commit graph

926 commits

Author SHA1 Message Date
Cédric Barreteau
69d5dec0ce Add indents queries for ledger 2021-01-31 20:10:49 +01:00
GitHub
b465ed0eb2 Update lockfile.json 2021-01-31 10:55:18 +01:00
Cédric Barreteau
459173e5c7 Add ledger parser, folds and highlights queries 2021-01-31 10:44:45 +01:00
GitHub
32e39094b9 Update lockfile.json 2021-01-30 21:19:08 +01:00
Stephan Seitz
f5c41338aa folds(teal): remove record_declaration from folds
See: c647346911
2021-01-30 21:13:14 +01:00
GitHub
8f4ca8404b Update lockfile.json 2021-01-30 21:13:14 +01:00
Stephan Seitz
9eaf1840b3 highlights(cpp): fix constructor call highlighting
Address #883
2021-01-29 17:01:23 +01:00
Kevin Anantha
3bef806c18 docs: update README
- change config to configs
2021-01-28 23:36:22 -05: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
Thomas Vigouroux
12181e236e fix(lua): correctly handle do_statement in locals 2021-01-27 10:21:37 +01:00
Thomas Vigouroux
b8a7f0ea38 fix(lua): correctly highlight do_statement 2021-01-27 10:21:37 +01:00
Steven Sojka
db033f7239 feat(javascript): move shorthand prop to property 2021-01-26 15:00:35 +01:00
Jeffrey Chupp
76d4a2a0c4 Highlight ruby symbols as @property
Distinguish from @constant. Closes #874
2021-01-25 21:39:29 +01:00
GitHub
6d2b1fc566 Update lockfile.json 2021-01-22 21:30:52 +01:00
Santos Gallegos
00ad11eb2f C: add goto to locals 2021-01-22 20:19:43 +01:00
elianiva
f84c93c484 fix: added missing enum indent for typescript 2021-01-21 18:17:54 +01:00
Stephan Seitz
99ecb46592 Ruby highlights: symbol -> simple_symbol, hash_key_symbol, delimited_symbol
Account for https://github.com/tree-sitter/tree-sitter-ruby/pull/152
2021-01-21 12:40:45 +01:00
GitHub
76447498b9 Update lockfile.json 2021-01-21 12:40:45 +01:00
Stephan Seitz
5ea3db83c6 fix(CI): don't let update-parsers fail if no change is necessary 2021-01-21 07:12:49 +01:00
Cédric Barreteau
74b84a66d7 Use function keyword highlight group for Rust's fn 2021-01-20 20:26:35 +01:00
elianiva
107d8b93c1 fix: js indent for object inside arguments 2021-01-20 19:01:33 +01:00
Stephan Seitz
9f12ad1142 Fix "nth?" predicate 2021-01-20 10:39:21 +01:00
Lewis Russell
362204f85c lua: Add more indent nodes 2021-01-20 10:36:11 +01:00
GitHub
d9c6a37e97 Update lockfile.json 2021-01-20 08:43:48 +01:00
elianiva
0ebd51c2d8 fix: dedent golang case keyword 2021-01-20 07:20:20 +01:00
GitHub
1c3fb201c6 Update lockfile.json 2021-01-15 08:21:28 +01:00
elianiva
f132021d31 feat: add missing golang indent queries 2021-01-15 08:07:36 +01:00
elianiva
9184cf3953 feat: added more indent queries 2021-01-14 14:43:04 +01:00
GitHub
72656dcf3c Update lockfile.json 2021-01-14 14:26:11 +01:00
Thomas Vigouroux
c51caf273a fix(ci): correctly set user and email 2021-01-14 14:20:52 +01:00
Thomas Vigouroux
2ccb45ea5e fix(ci): only track lockfile.json when updating parsers 2021-01-14 14:03:34 +01:00
Jędrzej Boczar
e4f8e4147c indent: add Python @ignore queries 2021-01-14 13:54:43 +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
e6b8c5e680 indent: add Python @return queries 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
39968ca258 added query enhancements
added toml

added alternation
2021-01-12 07:21:11 +01:00
Stephan Seitz
00ea65199e C++ highlights: Fix destructor highlighting
Field is not "name"
2021-01-08 20:19:18 +01:00
vigoux
255be0ff7b Update lockfile.json 2021-01-08 16:29:40 +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
Steven Sojka
2e8621ff1a
feat(js): add regex injections (#834) 2021-01-07 09:04:43 -06: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