changes 08-09-25
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
{ env, config, pkgs, host, self, ... }: {
|
||||
programs.nixvim.extraPackages = [
|
||||
pkgs.cargo
|
||||
pkgs.rustc
|
||||
pkgs.rustup
|
||||
pkgs.rust-analyzer
|
||||
];
|
||||
programs.nixvim = {
|
||||
nixpkgs.useGlobalPackages = true;
|
||||
extraPackages = [
|
||||
pkgs.cargo
|
||||
pkgs.rustc
|
||||
pkgs.clippy
|
||||
pkgs.rustup
|
||||
pkgs.rust-analyzer
|
||||
pkgs.nerd-fonts.envy-code-r
|
||||
];
|
||||
};
|
||||
imports = [ ./plugins ./options.nix ./keymaps.nix ./autocmd.nix ];
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ in {
|
||||
vim.opt.linebreak = true
|
||||
vim.opt.textwidth = 0
|
||||
vim.opt.breakat = " \t!@*-+;:,./?"
|
||||
vim.opt.guifont = "Fira Code:h18"
|
||||
vim.opt.guifont = "EnvyCodeR Nerd Font Mono:h18"
|
||||
|
||||
vim.g.mapleader = "!"
|
||||
vim.g.rust_recommended_style = 0
|
||||
|
||||
8
modules/home/programs/nixvim/plugins/claudecode.nix
Normal file
8
modules/home/programs/nixvim/plugins/claudecode.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
programs.nixvim.plugins = {
|
||||
claude-code = {
|
||||
enable = true;
|
||||
autoLoad = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -17,6 +17,7 @@
|
||||
./nvim-lightbulb.nix
|
||||
./neocord.nix
|
||||
./copilot.nix
|
||||
./claudecode.nix
|
||||
./plugins.nix
|
||||
./nvim-tree.nix
|
||||
./telescope.nix
|
||||
|
||||
@@ -82,7 +82,10 @@
|
||||
installCargo = false;
|
||||
installRustc = false;
|
||||
settings = {
|
||||
check.allTargets = false;
|
||||
check = {
|
||||
allTargets = false;
|
||||
command = "clippy";
|
||||
};
|
||||
};
|
||||
};
|
||||
nixd = {
|
||||
|
||||
@@ -4,7 +4,12 @@
|
||||
programs.nixvim.plugins.rustaceanvim = {
|
||||
enable = false;
|
||||
settings = {
|
||||
server.auto_attach = true;
|
||||
server = {
|
||||
auto_attach = true;
|
||||
default_settings = {
|
||||
checkOnSave.command = "clippy";
|
||||
};
|
||||
};
|
||||
dap.adapter = false;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user