Commit graph

3934 commits

Author SHA1 Message Date
Cédric Barreteau
455ded2992 Update ledger highlight queries 2023-04-23 12:09:57 -04:00
github-actions[bot]
3f7301789b
Update parsers: htmldjango, ledger, scheme (#4698)
Co-authored-by: GitHub <noreply@github.com>
2023-04-23 09:08:41 +00:00
github-actions[bot]
57d1a58437
Update parsers: json, scheme, t32, tsx, typescript (#4694)
Co-authored-by: GitHub <noreply@github.com>
2023-04-22 08:39:32 +00:00
Amaan Qureshi
85330918f0 perf: remove match where possible 2023-04-21 18:24:17 -04:00
Amaan Qureshi
654216eb04 fix(c): types are optional in sized_type_specifier 2023-04-21 04:55:20 -04:00
Amaan Qureshi
5887528216 docs: update readme maintainers 2023-04-21 04:38:28 -04:00
github-actions[bot]
8b221448a3
Update parsers: erlang, sql, t32 (#4687)
Co-authored-by: GitHub <noreply@github.com>
2023-04-21 08:17:16 +00:00
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