Commit graph

3905 commits

Author SHA1 Message Date
Robert Brunhage
e9de9cedf0 test(dart): add test cases for open issues 2023-04-13 02:31:49 -07:00
Robert Brunhage
e68b81e7fd fix(dart): review comment 2023-04-13 02:31:49 -07:00
Robert Brunhage
49f6962da4 test(dart): add expected failure file to test 2023-04-13 02:31:49 -07:00
Robert Brunhage
95055abadd chore: fix formatting issue for dart test 2023-04-13 02:31:49 -07:00
Robert Brunhage
34d1e0e360 Update tests/indent/dart_spec.lua
Co-authored-by: Pham Huy Hoang <hoangtun0810@gmail.com>
2023-04-13 02:31:49 -07:00
Robert Brunhage
978fb2b7be test(dart): Add an expected failure test 2023-04-13 02:31:49 -07:00
Robert Brunhage
ce3ea7aebe Revert "fix(dart): function argument indents is inconsistent"
This reverts commit ac4020c707.
2023-04-13 02:31:49 -07:00
ObserverOfTime
18f9e1a47f javascript: highlight more builtins
Co-Authored-By: Sergey Berezhnoy <veged@ya.ru>
2023-04-12 13:46:06 -04:00
github-actions[bot]
0efa55ae2e
Update parsers: comment, gitcommit, glimmer, v (#4636)
Co-authored-by: GitHub <noreply@github.com>
2023-04-12 11:31:40 +00:00
Robert Brunhage
ac4020c707 fix(dart): function argument indents is inconsistent 2023-04-11 03:09:53 -07:00
Pham Huy Hoang
a82501244a refactor(html_inject): use lua-match where possible 2023-04-10 11:39:13 -04:00
GitHub
cc360a9beb Update parsers: devicetree, hcl, terraform, vim, zig 2023-04-10 12:07:16 +02:00
Robert Brunhage
2fe7f969c1
fix(dart): try statement wouldn't indent (#4623) 2023-04-10 06:52:50 +00:00
Jaehwang Jung
fa9fe9a95b fix(rust): highlight SNAKE_CASE scoped identifier name as @constant 2023-04-09 08:12:17 -07:00
Jaehwang Jung
a57d2a599b feat(markdown_inline): add @nospell where appropriate 2023-04-08 15:34:06 -07:00
Pham Huy Hoang
9161093fc7 fix(c_indents): fix expression leaking indents 2023-04-08 09:59:21 -07:00
Pham Huy Hoang
474c59dcf1 add test 2023-04-08 09:56:06 -07:00
Pham Huy Hoang
1c7ba3ffcf fix(indent): Make indent ignore trailing spaces/comment
Signed-off-by: Pham Huy Hoang <hoangtun0810@gmail.com>
2023-04-08 09:56:06 -07:00
Jaehwang Jung
e482c9b4e2 feat(cpp): more distinction between function/method declaration and call 2023-04-08 09:40:30 -07:00
Pham Huy Hoang
ab39fe6c86 refactor(html_inject): Use lua-match instead of match 2023-04-08 12:34:08 -04:00
Christian Clason
584ccea56e
vim: switch to parser maintained by Neovim (#4610)
Problem: The current vimscript parser has not been maintained for a while, which was a blocker for packaging the coming Neovim release. 

Solution: Fork parser to https://github.com/neovim/tree-sitter-vim/ and maintain it there from now on.
2023-04-07 15:03:10 +02:00
github-actions[bot]
226c1475a4
Update parsers: sql (#4615)
Co-authored-by: GitHub <noreply@github.com>
2023-04-07 07:29:32 +00:00
GitHub
c85d059c46 Update parsers: c_sharp, gitcommit 2023-04-06 15:05:12 +02:00
Saleh Bakra'a
153818c29b
kotlin: update parser and queries
Update `queries/kotlin/locals.scm` to use the the newly exposed `function_value_parameters` node.
2023-04-06 14:50:38 +02:00
GitHub
411e771d51 Update parsers: sql 2023-04-05 09:04:50 +02:00
GitHub
871f5665d9 Update parsers: svelte, swift, vimdoc 2023-04-04 09:33:54 +02:00
Amaan Qureshi
0a20d1bb63 feat(ecma): use lua-match for jsdoc injections 2023-04-03 11:13:04 -04:00
Chris Kipp
9711139326 docs: add a small note about local queries
This just adds a small note in the CONTRIBUTING section about local
queries and how they differ from those listed upstream.
2023-04-03 01:54:02 -07:00
Carlo Cabrera
6f5a4f6306 feat: use -bundle to build parsers on macOS
This will make the parsers align more closely to the ones bundled with
Neovim, because CMake uses the `-bundle` flag (instead of `-shared`) on
macOS when a library is compiled as a `MODULE`.

See, for example:

    10baf89712/cmake.deps/cmake/TreesitterParserCMakeLists.txt (L6-L9)
2023-04-03 03:38:54 -04:00
GitHub
cbfa7cae1b Update parsers: awk, tiger 2023-04-02 11:17:07 +02:00
ghostbuster91
06075ecd04 fix(scala): Add missing locals definitions for scala 2023-04-01 14:29:43 -04:00
GitHub
ee1d618280 Update parsers: vhs 2023-04-01 16:26:57 +02:00
Christian Clason
93fa5df0a3 chore(help)!: renamed to vimdoc 2023-04-01 16:10:11 +02:00
Trey Wood
2f3113ff6d
fix(ruby): then blocks should not be @conditional, just "then" 2023-03-31 11:43:55 -04:00
Matthias Queitsch
d546bcd1f1 highlights(sql): add full, any and some keywords 2023-03-31 06:13:45 -04:00
GitHub
09275650b8 Update parsers: cue, sql 2023-03-30 09:16:10 +02:00
Trey Wood
5d85bdd883 update sql parser and highlights 2023-03-29 18:29:40 -04:00
dundargoc
1727f63976 docs: fix typos 2023-03-29 18:28:56 -04:00
kawas44
c07c1c5b98 feat(spell): support lisp like languages
Add spell to commonlisp, scheme, racket, clojure and fennel.
2023-03-29 17:48:30 -04:00
GitHub
9850baa958 Update parsers: help, tlaplus, v, vhs 2023-03-29 09:42:02 +02:00
GitHub
5a7a2ad172 Update parsers: erlang, pony, v 2023-03-28 09:37:39 +02:00
GitHub
63e4a3a40a Update parsers: awk, cpp, cuda, glimmer, haskell, hlsl, perl, swift, v 2023-03-27 22:41:54 +02:00
Amaan Qureshi
47615a947a feat(perl): update queries from upstream changes 2023-03-27 13:49:44 -04:00
Github Actions
0a907316fa Update README 2023-03-27 11:04:29 -04:00
Amaan Qureshi
eb1e599251 feat: add FIRRTL 2023-03-27 10:46:59 -04:00
Amaan Qureshi
eadf4f43c6 feat: add Pony 2023-03-27 10:46:35 -04:00
ObserverOfTime
ac13230ddd chore(lockfile): bump arduino 2023-03-27 10:20:38 -04:00
Amaan Qureshi
a9df886c2e chore(lockfile): bump cuda & hlsl 2023-03-27 10:20:38 -04:00
John Drouhard
300ba8d5a5 feat(cpp): simplify namespace query rules now that parser is a bit more consistent 2023-03-27 10:20:38 -04:00
Chris Kipp
25dd24ed0e feat(scala): add in local variables queries
This syncs the queries that were updated in https://github.com/tree-sitter/tree-sitter-scala/pull/196.

Co-authored-by: ghostbuster91 <ghostbuster91@users.noreply.github.com>
2023-03-27 06:48:21 -04:00