Luis Calle
2317241896
fix: register powershell language for ps1 filetype ( #7965 )
...
* chore: sort languages
* fix: register `powershell` language for `ps1` filetype
2025-06-23 18:15:08 +00: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
guilhas07
2a677dede2
feat(vue): add template commentstring metadata
2025-06-18 18:34:40 +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
uncenter
a64ef334be
fix(css): universal selector "*" has precedence over operator ( #7948 )
2025-06-14 11:01:04 +02:00
Igor
c29969e8ef
feat(dot): fold queries
2025-06-13 09:24:28 +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
Éric NICOLAS
9c03c835fb
fix(bash): highlight shebang also when spaced
...
This commit aligns the shebang highlighting in bash syntax to what the
Linux kernel will recognise as a valid shebang construct.
In summary, the kernel will accept both headers:
#!/usr/bin/env lua
#! /usr/bin/env lua
The second one is quite prominently used throughout documentation
online, such as on Wikipedia's page for Shebang (Unix) [1].
Some sources are adamant it wouldn't be supported at a kernel level, but
it looks to me, upon closer inspection of the current kernel code [2],
that it is indeed quite evidently valid. It'll simply skip over to the
first character that's neither a space 0x20 nor a tab 0x09.
[1] https://en.wikipedia.org/wiki/Shebang_(Unix)
[2] ec7714e494/fs/binfmt_script.c (L44-L71)
2025-06-09 10:43:31 +02:00
Jaehwang Jung
c48b37a3c9
feat(cpp): highlight template method call
2025-06-07 10:28:49 +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
Éric NICOLAS
9a51f860c1
fix(git_config): match lowercase Git config vars
...
Git config's sections, variable names, and (sometimes) subsections are
case-insensitive. This commit proposes to match the full lowercase
variants in addition to the non-normalised, lowerCamelCase ones.
See `git help config`
2025-05-31 10:12:23 +02:00
Christian Clason
01dd4b05cf
fix(check-queries): only show timings for existing queries
2025-05-30 16:23:44 +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
Noah Bogart
71d2fd1bd4
fix(just): do not restrict @function.call to explicit list ( #7905 )
2025-05-28 22:44:34 +02:00
Christian Clason
024e6c5e46
fix(queries): fix rebase errors on main
2025-05-28 14:35:36 +02:00
Christian Clason
0140c29b31
fix(health): only require ts>=v0.25
2025-05-27 15:25:49 +02:00
Marc Jakobi
dd63d7141f
fix(haskell): properly set inline-python injection language
2025-05-27 14:17:05 +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
0d60a09252
fix(typst): restore missing injections
2025-05-25 10:51:44 +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
Omar Valdez
652831b231
feat(bash): highlight variable argument for printf -v
2025-05-24 11:39:59 +02:00
Christian Clason
c78594ce06
ci(test): throttle all install steps
2025-05-22 19:50:31 +02:00
Christian Clason
011f02936f
fix(install): return task object in API functions
2025-05-22 08:34:45 +02:00
Yorick Peterse
d08cf75e1b
feat(inko): add scoping to the locals queries
...
This way tooling that makes use of these queries (e.g. snacks.nvim) is
aware of the scoping of Inko types and methods.
2025-05-22 07:47:03 +02:00
Christian Clason
b19b5ce171
docs: final update after rewrite
...
Make clear this is not the default branch
2025-05-21 09:15:29 +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
Riley Bruins
168fe16cdd
fix: tidy up some query mistakes
...
Revealed by the capture-less patterns lint
2025-05-18 09:46:27 +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
864e75a85d
fix(c,cpp,fsharp,idl,powershell,sql,systemtap): remove unneeded escapes
2025-05-13 18:12:58 +02:00