mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-01-30 22:57:54 +00:00
shell.nix: update formatter and language servers
This commit is contained in:
parent
dab0e3aba6
commit
f2f7a9e221
@ -10,12 +10,13 @@ mkShell {
|
|||||||
# Language servers for...
|
# Language servers for...
|
||||||
lua-language-server # ...Lua.
|
lua-language-server # ...Lua.
|
||||||
pyright # ...Python.
|
pyright # ...Python.
|
||||||
rnix-lsp # ...Nix.
|
nixd # ...Nix.
|
||||||
|
|
||||||
# Formatters for...
|
# Formatters for...
|
||||||
treefmt # ...everything under the sun.
|
treefmt # ...everything under the sun.
|
||||||
stylua # ...Lua.
|
stylua # ...Lua.
|
||||||
nixpkgs-fmt # ...Nix.
|
nixpkgs-fmt # ...Nix.
|
||||||
black # ...Python.
|
black # ...Python.
|
||||||
|
nufmt # ... Nushell.
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
[formatter.lua]
|
[formatter.lua]
|
||||||
command = "stylua"
|
command = "stylua"
|
||||||
includes = [ "*.lua" ]
|
includes = [ "*.lua" ]
|
||||||
|
|
||||||
|
[formatter.nu]
|
||||||
|
command = "nufmt"
|
||||||
|
includes = [ "*.nu" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user