Commit Graph

6102 Commits

Author SHA1 Message Date
Christian Clason
80281c19fd feat(parsers): update c3, cpp, d, faust, fsharp, javadoc, julia, liquidsoap, meson, mlir, nu, powershell, roc, swift, systemverilog, t32, v 2025-07-05 17:46:07 +02:00
Igor
dafb3cb3cb fix(http): prefer folding requests 2025-07-04 08:56:45 +02:00
Riley Bruins
04935dec42 fix: remove import references to jsx/locals.scm
There are no JSX locals (yet...?)
2025-07-03 18:33:31 +02:00
Baruch Even
1f069f1bc6 feat(D): highlight (string) etc. as @keyword.type (#7978)
Co-authored-by: Baruch Even <baruch@weka.io>
2025-06-29 16:10:29 +00:00
przepompownia
dbb63c8b7a feat(php): fold match_expression 2025-06-29 15:59:54 +02:00
przepompownia
4b2e9b049c feat(php): fold array_creation_expression 2025-06-29 15:17:01 +02:00
Christian Clason
5948977de4 feat(parsers): update angular, clojure, gleam, idl, javadoc, jinja, jinja_inline, liquidsoap, nim, nu, poe_filter, r, ssh_config, systemverilog, v 2025-06-29 11:39:30 +02:00
Christian Clason
2e8f8562e6 fix(scripts): sort list of updated parsers 2025-06-29 11:39:30 +02:00
Eric Mrak
7110df63e1 feat(fish): more builtin commands and variables (#7972)
builtin commands:
* abbr
* path

builtin variables:
* fish_cursor_*
2025-06-26 09:04:48 +02:00
Christian Clason
77ba555cef ci: bump luals to 3.15.0 2025-06-25 12:01:18 +02:00
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
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