Commit graph

4774 commits

Author SHA1 Message Date
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
Riley Bruins
0b697429c9 fix(git_config): highlight parent relative path 2024-01-26 00:58:05 -05:00
Jongwook Choi
cb79d24461 feat(python): allow comments before module docstring
Example:

  ```python
  #!/usr/bin/env/python
  # some comment before module docstring
  # Copyright (c) LICENSE foo bar

  """module docstring."""
  ```

Python indeed recognizes it:

  ```
  $ python -c 'import testfile; print(testfile.__doc__)'
  module docstring.
  ```
2024-01-25 23:28:11 +01:00
Leftas
ce4adf11cf Fix find_usages 2024-01-25 19:24:18 +01:00
Christian Clason
cc908cfcd7 fix(dart): replace slow indent with simpler strategy
Pattern for dedenting else blocks is painfully slow (~20% of total test
time), so replace with `@indent.auto` for the whole `if_statement` for
now.
2024-01-25 13:12:53 +01:00
GitHub
fb91060f59 Update parsers: cpp, csv, disassembly, elixir, kconfig, luau, matlab, php, php_only, psv, tsv, wing 2024-01-25 10:00:53 +01:00
Christian Clason
22025469b5 fix: bump phpdoc parser and query 2024-01-25 09:47:20 +01:00
Riley Bruins
314fe31dc7 fix(jsx): proper tag and builtin tag distinction 2024-01-25 09:11:48 +01:00
Amaan Qureshi
1d83fc08d4 fix: format disassembly 2024-01-25 10:00:01 +09:00
Colin Kennedy
4362b04a29
feat: add tree-sitter-disassembly 2024-01-24 19:25:40 -05:00
Miles Frain
2c1eb02e92 feat(bash) Highlight concatenated words as strings 2024-01-25 00:15:02 +01:00
Amaan Qureshi
10903b13d8 chore(luau): update highlights and parser 2024-01-24 18:14:03 -05:00
ObserverOfTime
1bee80469d feat(vim): highlight keycodes 2024-01-24 20:19:55 +01:00
ObserverOfTime
8166080035 feat(yuck): add missing injections
And builtin variable highlights
2024-01-24 13:47:19 +01:00
ObserverOfTime
d23192fb17 fix(godot_resource): improve highlights
And add a comment injection
2024-01-24 13:47:19 +01:00