language/twig: add treesitter, LSP, diagnostics, and formatting support.

Due to better tools like twig-cs-fixer and curlylint not beeing packaged
in nix, this uses worse alterantives.
This commit is contained in:
Snoweuph 2026-02-08 17:17:25 +01:00
commit cee920622d
No known key found for this signature in database
GPG key ID: BEFC41DA223CEC55
4 changed files with 127 additions and 0 deletions

View file

@ -222,6 +222,11 @@
- Added Formatting support to `languages.php` via
[PHP-CS-Fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer).
- Added minimal `languages.twig`. Currently using [djlint](https://djlint.com/)
for most options, as better alternatives like
[twig-cs-fixer](https://github.com/VincentLanglet/Twig-CS-Fixer) aren't
packaged for nix.
- Didn't Add
[`syntax-gaslighting`](https://github.com/NotAShelf/syntax-gaslighting.nvim),
you're crazy.