feat: Added rust-analyzer
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
background = "#000000";
|
||||
shell = "${pkgs.fish}/bin/fish";
|
||||
hide_window_decorations = "yes";
|
||||
cursor_trail = 3;
|
||||
};
|
||||
shellIntegration.enableFishIntegration = true;
|
||||
darwinLaunchOptions = [
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
./tuifeed.nix
|
||||
./yazi.nix
|
||||
./zoxide.nix
|
||||
./mpris-scrobbler.nix
|
||||
# ./mpris-scrobbler.nix
|
||||
./omnix.nix
|
||||
# ./ddcbacklight.nix
|
||||
./yt-dlp.nix
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
{pkgs, ...}: {
|
||||
home.packages = [
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home.packages = lib.optionals pkgs.stdenv.isLinux [
|
||||
pkgs.mpris-scrobbler
|
||||
];
|
||||
# services.mpd = {
|
||||
# enable = pkgs.stdenv.isLinux;
|
||||
# };
|
||||
}
|
||||
|
||||
@@ -381,7 +381,7 @@ in {
|
||||
};
|
||||
};
|
||||
rustaceanvim = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
settings = {
|
||||
server = {
|
||||
on_attach = rawLua ''
|
||||
@@ -489,6 +489,25 @@ in {
|
||||
slint_lsp.enable = true;
|
||||
sourcekit.enable = true;
|
||||
openscad_lsp.enable = true;
|
||||
rust_analyzer = {
|
||||
enable = true;
|
||||
installCargo = false;
|
||||
installRustc = false;
|
||||
settings = {
|
||||
inlayHints = {
|
||||
typeHints.enable = true;
|
||||
};
|
||||
files.exclude = [
|
||||
".cargo/"
|
||||
".direnv/"
|
||||
".git/"
|
||||
".vcpkg/"
|
||||
"node_modules/"
|
||||
"target/"
|
||||
"vendor/"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
onAttach =
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user