Commit graph

4788 commits

Author SHA1 Message Date
Karl Hiner
b444afa1da
feat(faust): add tree-sitter-faust (#6043) 2024-02-08 10:54:33 +01:00
nvim-treesitter-bot[bot]
3e71d65447 Update parsers: groovy, haskell, javascript, svelte, templ, wing 2024-02-08 09:24:42 +00:00
Anthony Shi
5973b617a9
fix(kotlin): remove slow highlight and local pattern (#5954)
This is a parser bug that needs to be fixed; temporary workaround to
remove the ~0.5s delay on opening highlight and locals queries.
2024-02-06 13:51:50 +01:00
Dennis van den Berg
3722d5d772
fix(angular): nullish coalescing operator in Angular templates (#6052) 2024-02-06 10:30:01 +01:00
Riley Bruins
127cf25737 feat(latex): pre-compiled header highlights, tests
Also moves comment highlights to the very end to make them more
future-proof.
2024-02-06 10:29:09 +01:00
Riley Bruins
8d6192baa9 fix(latex): give comments higher precedence
This commit also moves things around to give text better precedence in
the case of `textit` and `textbf`.
2024-02-06 10:29:09 +01:00
nvim-treesitter-bot[bot]
7bba891bae Update parsers: angular, bash, gitcommit, glsl, hlsl, php, php_only, templ, wing 2024-02-06 09:14:58 +00:00
Calum Smith
0d14299a9d highlight(jsx,tsx): character references (a.k.a. entities) 2024-02-05 18:37:12 +01:00
Maria José Solano
4fbf150a16 fix(inc-selection): handle deleting non-existing keymaps 2024-02-03 10:34:08 +01:00
Maria José Solano
140a486abe refactor(inc-selection): simplify keymap and add error message 2024-02-03 10:34:08 +01:00
Ilia Ilinykh
1cda98132a
feat(java): inject printf in String.formatted (#6045)
https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html#formatted(java.lang.Object...)
2024-02-02 20:00:03 +01:00
Michael Strobel
a536ecad57 fix(php): add missing spaceship operator <=> 2024-02-02 19:59:00 +02:00
nvim-treesitter-bot[bot]
b7e1a6c2cd Update parsers: embedded_template, fennel, javascript, php, php_only, qmljs, ruby 2024-02-02 15:15:28 +00:00
nvim-treesitter-bot[bot]
9512582775 Update parsers: bicep, cpp, gitcommit, kdl, php, php_only, wing 2024-02-02 07:33:54 +00:00
Amaan Qureshi
8b99311ca1 chore(bicep): update queries and add scanner 2024-02-02 08:24:59 +01:00
Amaan Qureshi
d2b4563230 chore(kconfig): update highlights 2024-02-02 00:39:01 -05:00
Ilya Ilyinykh
e7ea07e42c fix(go): fix eq to any-of 2024-02-01 19:21:09 +01:00
Ilya Ilyinykh
f2119df35c feat(go): printf injections
https://pkg.go.dev/fmt#pkg-index
https://pkg.go.dev/fmt#Fscanf
https://pkg.go.dev/fmt#Appendf
https://pkg.go.dev/fmt#Sscanf
https://pkg.go.dev/testing#T.Skipf
https://pkg.go.dev/testing#F.Logf

The problem covered here:
https://github.com/nvim-treesitter/nvim-treesitter/issues/2917
2024-02-01 19:21:09 +01:00
Levi Frandsen
7e4e92432d fix(svelte): correct formatting 2024-02-01 23:35:57 +07:00
Levi Frandsen
129f8b9742 fix(svelte): correct indents, add key block
resolves #6028
2024-02-01 23:35:57 +07:00
Amaan Qureshi
5fca7ae496 chore(bicep): update highlights 2024-02-01 04:10:16 -05:00
nvim-treesitter-bot[bot]
13599375c3 Update parsers: bitbake, groovy, haskell, kconfig, luadoc, starlark, wing 2024-02-01 06:43:51 +00:00
Amaan Qureshi
515b00598a chore(qmljs): temporarily remove the ecma inherit 2024-01-31 22:31:50 -05:00
Amaan Qureshi
90327d9e73 chore(typescript,tsx): update parser and queries 2024-01-31 22:31:50 -05:00
Amaan Qureshi
6da205148f chore(ecma,jsx): update parser and queries 2024-01-31 22:31:50 -05:00
Christian Clason
364b86ec8e ci: use M1 for macOS
GH Actions runners use M1 hardware for `macos-14` now. Since macOS is
one of the slowest platforms for parser compilation, switching should
give us not only ARM coverage but also shorter CI times.
2024-01-31 15:19:51 +01:00
nvim-treesitter-bot[bot]
45cde459b5 Update parsers: apex, phpdoc, rbs, soql, sosl, wing 2024-01-31 09:25:31 +01:00
Maria José Solano
ba64547834
fix(incremental-selection): second attempt at fixing command (#6014) 2024-01-30 22:34:46 +01:00
Phạm Huy Hoàng
5f950cdcb8 fix(format): handle list with 300 nodes 2024-01-30 22:59:27 +07:00
Christian Clason
e9602f4119 fix(format): improve error message 2024-01-30 09:57:54 +01:00
Christian Clason
569d5dfadb ci: use nvim-treesitter-bot as author 2024-01-30 09:01:30 +01:00
kyazdani42
59a295f76a Update parsers: angular, beancount, liquidsoap, markdown, markdown_inline, purescript, wing 2024-01-30 07:58:07 +00:00
Christian Clason
e24dab6696 ci: use nvim-treesitter-bot as committer 2024-01-29 10:14:42 +01:00
kyazdani42
4ea1a4ffa8 Update parsers: groovy, php, php_only 2024-01-29 06:49:06 +00:00
Murtaza
d4dac523d2
feat(groovy)!: switch to more complete parser (#5957)
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2024-01-28 22:17:50 +01:00
clason
95987ee2d6 Update parsers: query 2024-01-28 16:19:27 +01:00
Christian Clason
b5736698be ci: use token for automated PRs
* Use a Github App token to allow CI to run automatically
(Following
https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#authenticating-with-github-app-generated-tokens)

* Enable automerge

* make lint workflow only run once on PRs to master
2024-01-28 16:15:57 +01:00
GitHub
6f586875e3 Update parsers: awk, haskell, php, php_only 2024-01-28 10:10:43 +01:00
Maria José Solano
458ce4d16c fix(incremental-selection): use cmd instead of :lua for command 2024-01-27 22:51:26 +01:00
Github Actions
b4138891b3 Update README 2024-01-27 12:20:22 +01:00
Dennis van den Berg
2fb2100fed
feat(angular)!: switch to parser supporting v17 (#5779) 2024-01-27 12:17:25 +01:00
GitHub
589fa77c23 Update parsers: astro, bitbake, c, cpp, dtd, gnuplot, json, php, php_only, wing, xml 2024-01-27 10:43:11 +01:00
Christian Clason
cf13c96050 fix(jsdoc): add scanner.c 2024-01-27 10:30:03 +01:00
Riley Bruins
e0edcbb1d2 fix(make): highlight order-only prerequisite pipe 2024-01-26 19:07:19 -05:00
Amaan Qureshi
ed82d82b77 chore(Odin): update highlights 2024-01-26 12:52:24 -05:00
Christian Clason
efda19a54a feat(tests): allow check-queries to take list of parsers
`./scripts/check-queries.lua foo bar baz`
2024-01-26 13:32:10 +01:00
Dai López
ffb19d5dee
feat(gnuplot): added gnuplot parser and queries (#5594)
* feat(gnuplot): added gnuplot parser and queries

---------

Co-authored-by: Pham Huy Hoang <hoangtun0810@gmail.com>
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-01-26 13:30:43 +02:00
Amaan Qureshi
4bc1f9a4eb feat(kconfig): add new operator 2024-01-26 03:15:41 -05:00
GitHub
7b9973fca9 Update parsers: kconfig, php, php_only, wing 2024-01-26 08:40:38 +01:00
Amaan Qureshi
b7fd3d1db4 fix(lua): inject luadoc into comments immediately beginning with a | 2024-01-26 02:14:15 -05:00