1
Fork 0
nixos-system-config/modules/packages/nvim.nix
caem 2abbd25372
nvim: upgrade clang-tools to version 19
clangd can't cope with the existence of `-fanalyzer` and
`null_terminated_string_arg` in my C code so hopefull this fixes it.
2024-09-07 19:34:50 +02:00

44 lines
862 B
Nix

{ pkgs, ... }:
{
environment.persistence."/nix/persist".users.hu.directories = [
".local/share/nvim"
".local/state/nvim"
];
environment.variables = {
EDITOR = "nvim";
};
home-manager.users.hu = {
programs.neovim = {
enable = true;
defaultEditor = true;
extraPackages = with pkgs; [
lua-language-server
nodePackages.intelephense
nodePackages.typescript-language-server
llvmPackages_19.clang-tools
ripgrep
nil
gcc
basedpyright
rust-analyzer
zathura
git
texliveFull
luajitPackages.jsregexp
luajitPackages.luarocks
fd
texlab
haskell-language-server
];
};
home.file."/home/hu/.config/nvim" = {
source = ../../dotfiles/nvim;
recursive = true;
};
};
}