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
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
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
8867a9d6bf
feat(powershell)!: update parser and queries
...
removed nodes: `"class"`, `"enum"`
2025-06-22 15:51:32 +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
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
É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
27b0bd487c
feat(nickel)!: update parser and queries
...
Breaking change: `(record_field)` -> `field_decl`
2025-06-02 13:30:07 +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 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
Marc Jakobi
dd63d7141f
fix(haskell): properly set inline-python injection language
2025-05-27 14:17:05 +02:00
Christian Clason
0d60a09252
fix(typst): restore missing injections
2025-05-25 10:51:44 +02:00
Omar Valdez
652831b231
feat(bash): highlight variable argument for printf -v
2025-05-24 11:39:59 +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
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
864e75a85d
fix(c,cpp,fsharp,idl,powershell,sql,systemtap): remove unneeded escapes
2025-05-13 18:12:58 +02:00
Christian Clason
25f08b82af
fix(hcl): remove unnecessary escapes
2025-05-13 18:12:58 +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
308c9b26c7
feat(tcl)!: update parser and queries
2025-05-12 18:43:40 +02:00
Christian Clason
990110336c
feat(julia)!: update parser and queries
2025-05-12 18:43:40 +02:00
Christian Clason
cbfe8a20c7
feat(html): use gsub for mimetype lookup
2025-05-12 18:43:40 +02:00
Christian Clason
12e0246e4f
fix(formatter): increase match limit
...
Problem: Some very long patterns were not formatted correctly.
Solution: Increase the match limit when iterating to 1024.
2025-05-12 18:43:40 +02:00
Christian Clason
aaf5b7fdf7
fix(install): return error code in callback
2025-05-12 18:43:40 +02:00
Christian Clason
c70daa36dc
feat(install)!: add explicit path field to parser info ( #6476 )
...
Problem: Using `url` for both remote repo and local path complicates the
code.
Solution: Add `path` field that overrides `url` and bypasses
git-specific manipulations, i.e., the contents of the `path` are used
as-is (no git repo needed).
This means `:TSUpdate` will skip such parsers; use `:TSInstall!` instead
after making local changes.
---------
Co-authored-by: Lewis Russell <lewis6991@gmail.com >
2025-05-12 18:43:40 +02:00
Lewis Russell
efbc2a4b72
fix: remove downcase! directive use
2025-05-12 18:43:40 +02:00
Christian Clason
f13420ccff
fix: remove upstreamed directives
...
`#inject-lang!` and `#trim!`; fix `set-lang-from-mimetype`
2025-05-12 18:43:40 +02:00
Christian Clason
37957d6bcf
refactor: use vim.uv
2025-05-12 18:43:40 +02:00
Christian Clason
692b051b09
feat!: drop modules, general refactor and cleanup
2025-05-12 18:43:40 +02:00