Christian Clason
98459ffcf7
fix(health): sort language names
2025-06-24 12:23:23 +02:00
Christian Clason
1181cd9a25
feat(verilog)!: rename to systemverilog
...
Grammar name was changed to coincide with repository name
2025-06-24 10:07:36 +02:00
Christian Clason
13ddd4d752
feat(swift)!: update parser and queries
2025-06-24 10:07:24 +02:00
Christian Clason
6c50310371
chore(wit): mark as unmaintained
2025-06-23 20:25:00 +02:00
Christian Clason
8867a9d6bf
feat(powershell)!: update parser and queries
...
removed nodes: `"class"`, `"enum"`
2025-06-22 15:51:32 +02:00
Christian Clason
1bfa557b7d
feat(parsers): update gleam, latex, typespec, purescript, heex, nu
2025-06-22 15:46:42 +02:00
Christian Clason
7e6fbcaa20
feat(purescript)!: update parser and queries
...
removed note: `(constructor_operator)`
2025-06-17 15:55:21 +02:00
Christian Clason
9807487fe9
feat(parsers): update desktop, query, editorconfig, xresources, hcl, slint, markdown_inline, matlab, terraform, templ, nu, vhdl, tera, markdown, javadoc
2025-06-17 15:55:21 +02:00
Christian Clason
43b7f16c50
feat(parsers): update php_only, javadoc, erlang, faust, php, roc, slim, fortran, terraform, fish, mlir, sourcepawn, latex, matlab, hcl, vhdl
2025-06-15 10:52:24 +02:00
Christian Clason
0fb1c6e92e
feat(parsers): update bash, purescript, r, cylc, meson, mlir, xresources, markdown, markdown_inline, scala, javadoc, slint, desktop, enforce, editorconfig, query
2025-06-09 17:47:41 +02:00
Christian Clason
faf63903ff
fix(ipkg)!: remove parser and queries
...
grammar repo is 404 (user removed) and no forks exist
2025-06-06 16:59:44 +02:00
Omar Valdez
27d0bef81e
feat(desktop): update parser and queries
2025-06-06 09:07:06 +02:00
Christian Clason
f976acdc9c
refactor(install): inline, rename, annotate
2025-06-04 11:35:41 +02:00
Christian Clason
057e845518
feat(install): support custom queries
2025-06-04 11:35:41 +02:00
Christian Clason
fb9b2cfdc3
feat(parsers): update bash, scala, slang, hyprlang, ini, query, javadoc, xml, php_only, angular, dtd, nu, php
2025-06-04 10:37:27 +02:00
Christian Clason
27b0bd487c
feat(nickel)!: update parser and queries
...
Breaking change: `(record_field)` -> `field_decl`
2025-06-02 13:30:07 +02:00
Christian Clason
6d54a47f44
feat(parsers): update desktop, javadoc, t32, templ, fortran, editorconfig, mlir, xresources, ocaml_interface, r, ocaml
2025-06-02 13:30:07 +02:00
Christian Clason
3cad4eb434
fix(lua): fix some emmyluals warnings
2025-05-31 11:30:56 +02:00
Christian Clason
fa0bb30ebd
feat(parsers): update gdscript, gitattributes, godot_resource, xresources, yaml, ocaml, koto, ocaml_interface, c, ini, mlir, scheme, slint, c3, r, clojure, desktop, editorconfig, fortran
2025-05-30 10:25:47 +02:00
Christian Clason
ff770d718b
fix(install): don't print operation summary by default
...
Problem: People complain about noisy `install()`.
Solution: Gate operation summary behind `summary` install option
(default false, set to true for interactive `:TS*` commands).
2025-05-29 20:08:10 +02:00
Christian Clason
ce903fde5d
feat(api): expose list of available and installed languages
2025-05-29 12:11:56 +02:00
Christian Clason
0860b9b107
fix(config): check both installed parsers and queries
...
Problem: Can't uninstall custom parsers without queries since
`installed_parsers` only iterates over installed queries (to include
query-only languages, and to avoid string manipulation).
Solution: Iterate over both queries and parsers to collect list of
installed languages (optionally only queries or only parsers).
2025-05-29 11:52:58 +02:00
Christian Clason
03c9048090
fix(install): only install queries for bundled parsers
2025-05-29 11:52:58 +02:00
Christian Clason
f9ab837ca1
fix(install): don't skip un-tiered parsers
2025-05-29 11:52:58 +02:00
Christian Buttner
c59004f1e0
feat: add c3 ( #7891 )
2025-05-28 23:04:10 +02:00
Christian Clason
0140c29b31
fix(health): only require ts>=v0.25
2025-05-27 15:25:49 +02:00
Christian Clason
61b0a05ec0
fix(install): create cache dir if not existing
2025-05-26 17:21:18 +02:00
Christian Clason
1043871ef4
fix(swift): mark as unmaintained
...
Prevent from updating parser with breaking changes until queries are
adapted.
2025-05-26 14:57:57 +02:00
Christian Clason
c1dfc39285
fix(config): prepend install_dir to rtp
2025-05-25 13:11:28 +02:00
Christian Clason
354c30d2a2
feat(parsers): update desktop, dtd, editorconfig, janet_simple, liquid, c, v, perl, mlir, templ, vhdl, xml, xresources, yaml, tlaplus, cmake
2025-05-24 19:27:04 +02:00
Christian Clason
011f02936f
fix(install): return task object in API functions
2025-05-22 08:34:45 +02:00
Christian Clason
40cbddedf7
feat(parsers): update markdown_inline, markdown, vimdoc, fsharp, pascal, racket, lua, scheme, gleam, ocamllex, query
2025-05-18 10:22:42 +02:00
Christian Clason
a663e69447
feat(parsers): update javadoc, jq, hcl, query, smithy, earthfile, tcl, llvm, godot_resource, git_config, terraform, teal, gdscript, mlir
2025-05-16 18:33:52 +02:00
Lewis Russell
69371f0148
feat(install)!: migrate to latest async.nvim impl ( #7856 )
...
Provides significantly simpler blocking installation and update.
2025-05-16 18:33:52 +02:00
Christian Clason
7a4a35de3e
refactor(indent): use `node:byte_length()
2025-05-16 15:00:37 +02:00
Christian Clason
b0a20057b0
feat(config)!: remove ignore_install
...
This was only useful for no longer supported `auto_install` option.
2025-05-16 08:48:27 +02:00
Christian Clason
e8bfe271b0
docs: update to rewrite
...
This updates
* README
* CONTRIBUTING
* the `:h nvim-treesitter` documentation
to the current state of `main`. It also adds a pull request template for
adding a new language.
2025-05-12 18:43:41 +02:00
Christian Clason
a7ab4381ae
feat(parsers): update t32, query, markdown, markdown_inline, meson, hyprlang, mlir, cpp, cylc
2025-05-12 18:43:41 +02:00
Christian Clason
f10bcac66b
feat(parsers): update vim, gren, comment, purescript, elm, matlab, javadoc, swift, godot_resource, query, vimdoc, ledger
2025-05-12 18:43:41 +02:00
Christian Clason
18bb653917
feat(locals)!: remove locals module
...
Problem: `locals.lua` was neither used nor tested, and providing it goes
against the goal of nvim-treesitter not being a required dependency for
other plugins.
Solution: Remove the module and document that the queries are provided
as-is for limited backward compatibility only.
2025-05-12 18:43:41 +02:00
Riley Bruins
4e906caca3
refactor(locals): fix type annotations and warnings
2025-05-12 18:43:40 +02:00
Christian Clason
75ee7ff2f0
tests(gleam): fix assert tests that no longer parse correctly
2025-05-12 18:43:40 +02:00
Christian Clason
a83f2d1417
feat(vim): update parser and queries
...
* add support for `:substitute` command
* add support for `=` lua chunks
2025-05-12 18:43:40 +02:00
Christian Clason
3d0e642764
feat(gdscript)!: update parser and queries
...
`(underscore)` node was removed
2025-05-12 18:43:40 +02:00
Christian Clason
f7c5f7de55
feat(parsers): update robot, earthfile, racket, javadoc, scheme, t32, tact, templ, kotlin, tcl, meson, mlir
2025-05-12 18:43:40 +02:00
Christian Clason
11736494df
fix(indent): don't skip parsing for yaml
2025-05-12 18:43:40 +02:00
Christian Clason
53d7118483
refactor(lua): fix some luals warnings
2025-05-12 18:43:40 +02:00
Christian Clason
bdc2e01958
feat(install)!: always generate from json if possible
2025-05-12 18:43:40 +02:00
Christian Clason
522e0c6991
feat(setup)!: remove ensure_install field
...
Instead, call `require('nvim-treesitter').install( { ... } )` manually.
This gives users full control over how they want to install parsers
(sync, from grammar, limited concurrency) and obviates the need for
calling `setup` for most users.
2025-05-12 18:43:40 +02:00
Christian Clason
73adbe597e
feat(parsers): update swift, tact, tcl, templ, mlir, kotlin, koto, elixir, php_only, ocaml, ocaml_interface, php, astro, slang, slim, blade, gleam, v, ledger
2025-05-12 18:43:40 +02:00