mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-01-30 16:57:55 +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...
|
||||
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.
|
||||
];
|
||||
}
|
||||
|
@ -1,3 +1,7 @@
|
||||
[formatter.lua]
|
||||
command = "stylua"
|
||||
includes = [ "*.lua" ]
|
||||
|
||||
[formatter.nu]
|
||||
command = "nufmt"
|
||||
includes = [ "*.nu" ]
|
||||
|
Loading…
Reference in New Issue
Block a user