Commit graph

4 commits

Author SHA1 Message Date
Sam
eb3911d052
fix(nix): match writers in nested attrpaths
The current Nix injections don't mark this as bash:

```nix
pkgs.writers.writeBash "" ''
  echo Hello, world!
''
```

but do mark this as bash:

```nix
writers.............................writeBash "" ''
  echo hi
''
```

(and similar for other languages). Note that in
order to solve this issue, I had to swap from
Lua patterns to Vim regexps, which I know is less
efficient. Unfortunately Lua patterns don't let you
use modifiers on groups, so I swapped.
2026-01-24 19:24:51 -07:00
Marc Jakobi
7efc1b58a8
fix(nix): refactor nixosTest injections for better performance (#8378) 2025-12-29 16:47:03 +01:00
Marc Jakobi
7ba26e7685 perf(nix): replace match with lua-match 2025-12-26 22:13:05 +01:00
Christian Clason
692b051b09 feat!: drop modules, general refactor and cleanup 2025-05-12 18:43:40 +02:00