Commit graph

3927 commits

Author SHA1 Message Date
Amaan Qureshi
b9ed96bb6f feat(c): highlight parenthesized function pointer decl identifiers as @function 2023-04-21 03:26:13 -04:00
Amaan Qureshi
b0338a0565 chore(parsers): update http maintainers 2023-04-20 06:33:25 -04:00
github-actions[bot]
e77fd9af16
Update parsers: gitcommit, html, java, t32 (#4671)
Co-authored-by: GitHub <noreply@github.com>
2023-04-20 10:05:24 +00:00
Amaan Qureshi
c44a63ffdc feat(http): update parser queries from upstream 2023-04-20 05:50:08 -04:00
Pham Huy Hoang
eedc5198a1
tests: fix deprecated tests (#4681) 2023-04-20 15:12:31 +09:00
stefan
481d1eda24
docs: update gitconfig in readme to reflect parser name (#4656) 2023-04-20 03:17:44 +00:00
Amaan Qureshi
831f37635d feat(rust): move some keywords & operators to where they belong 2023-04-19 02:28:00 -04:00
Benny Powers
cdc45ac6ba
feat(markdown): configured aliases for fenced code block languages (#4659)
* feat(markdown): configured aliases for languages

* refactor: use vim.treesitter.match

* refactor: rename local vars

* fix: query syntax
2023-04-18 21:51:14 +09:00
Amaan Qureshi
c79c37927b refactor(smali): refactor queries from upstream 2023-04-17 22:50:34 -04:00
Amaan Qureshi
7ade4d2e77
fix(ecma): comment should be @indent.auto (#4669) 2023-04-18 08:04:04 +09:00
Matthias Queitsch
1185a35705 highlights(prql): replace and and or operators 2023-04-17 14:29:26 -04:00
tzachar
351e43d5ef
fix(compat): add missing get_node_text, required by playground (#4666) 2023-04-17 11:38:41 +02:00
GitHub
9d64a68e1c Update parsers: bash, latex 2023-04-17 09:38:39 +02:00
Serhii Budnik
9d3c14874d fix(ruby): bare_symbol should be @symbol 2023-04-17 02:16:36 -04:00
dundargoc
21f2fb188e fix(checkhealth): use non-deprecated versions if possible 2023-04-16 05:26:14 -07:00
github-actions[bot]
f90a80a5a5
Update parsers: cpp, cuda, elm, hlsl, luadoc, swift (#4657)
Co-authored-by: GitHub <noreply@github.com>
2023-04-16 08:27:05 +00:00
Amaan Qureshi
da7f886ab5 perf(ecma): remove GraphQL comment injection, use lua-match for gql template detection 2023-04-15 20:13:44 -04:00
John Drouhard
dad0864fa3 feat(cpp): improve function.call to support any level of nesting for qualified identifiers 2023-04-15 07:00:14 -07:00
Pham Huy Hoang
f7e8b7420c fix(php_inject): add missing @combined to text 2023-04-14 13:23:37 -04:00
github-actions[bot]
f499a711fa
Update parsers: c_sharp, html, matlab, perl, t32, zig (#4649)
Co-authored-by: GitHub <noreply@github.com>
2023-04-14 11:32:52 +02:00
Pham Huy Hoang
36d4deb294 fix(dart_indent): Fix dart case/default indent
add tests

add tests for fallthrough case

add more tests

keep functional tests
2023-04-14 02:28:42 -07:00
Robert Brunhage
ba6c55b203 chore(dart): remove tests for switch 2023-04-13 02:31:49 -07:00
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