shell.nix: update formatter and language servers

This commit is contained in:
Gabriel Arazas 2025-01-29 12:42:04 +08:00
parent dab0e3aba6
commit f2f7a9e221
2 changed files with 6 additions and 1 deletions

View File

@ -10,12 +10,13 @@ mkShell {
# Language servers for...
lua-language-server # ...Lua.
pyright # ...Python.
rnix-lsp # ...Nix.
nixd # ...Nix.
# Formatters for...
treefmt # ...everything under the sun.
stylua # ...Lua.
nixpkgs-fmt # ...Nix.
black # ...Python.
nufmt # ... Nushell.
];
}

View File

@ -1,3 +1,7 @@
[formatter.lua]
command = "stylua"
includes = [ "*.lua" ]
[formatter.nu]
command = "nufmt"
includes = [ "*.nu" ]