refactor: resolve some nixd warnings
This commit is contained in:
parent
4e384657c6
commit
4c50999fc5
1 changed files with 35 additions and 37 deletions
|
@ -7,45 +7,43 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
withPython3 = false;
|
withPython3 = false;
|
||||||
withRuby = false;
|
withRuby = false;
|
||||||
extraPackages =
|
extraPackages = with pkgs; [
|
||||||
let
|
# Language Servers
|
||||||
customR = pkgs.rWrapper.override {
|
rust-analyzer
|
||||||
packages = with pkgs.rPackages; [
|
nixd
|
||||||
styler
|
pyright
|
||||||
languageserver
|
nodePackages_latest.bash-language-server
|
||||||
];
|
lua-language-server
|
||||||
};
|
zls
|
||||||
in
|
#rPackages.languageserver
|
||||||
with pkgs;
|
|
||||||
[
|
|
||||||
# Language Servers
|
|
||||||
rust-analyzer
|
|
||||||
nixd
|
|
||||||
pyright
|
|
||||||
nodePackages_latest.bash-language-server
|
|
||||||
lua-language-server
|
|
||||||
zls
|
|
||||||
#rPackages.languageserver
|
|
||||||
|
|
||||||
# Formatter
|
# Formatter
|
||||||
python311Packages.black # Python formatter
|
python311Packages.black # Python formatter
|
||||||
#rPackages.styler # R formatter
|
#rPackages.styler # R formatter
|
||||||
clang-tools
|
clang-tools
|
||||||
nodePackages_latest.prettier # JSON, JS, TS formatter
|
nodePackages_latest.prettier # JSON, JS, TS formatter
|
||||||
yamlfmt # YAML formatter
|
yamlfmt # YAML formatter
|
||||||
taplo # TOML formatter
|
taplo # TOML formatter
|
||||||
rustfmt # Rust formatter
|
rustfmt # Rust formatter
|
||||||
shfmt # Shell, Bash etc.
|
shfmt # Shell, Bash etc.
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
stylua
|
stylua
|
||||||
|
|
||||||
# Misc
|
# Misc
|
||||||
ripgrep
|
ripgrep
|
||||||
rustc
|
rustc
|
||||||
cargo
|
cargo
|
||||||
|
nodejs_22
|
||||||
|
clang
|
||||||
|
tree-sitter
|
||||||
|
|
||||||
# R
|
# R
|
||||||
customR
|
(rWrapper.override {
|
||||||
];
|
packages = with rPackages; [
|
||||||
|
styler
|
||||||
|
languageserver
|
||||||
|
];
|
||||||
|
})
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue