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