dotfiles/home/modules/tui/neovim/default.nix

31 lines
621 B
Nix
Raw Normal View History

2024-12-03 04:07:49 +00:00
{ inputs, ... }: {
2024-12-05 04:08:33 +00:00
# neovim config largely lifted from https://github.com/GaetanLepage/nix-config/tree/master/home/modules/tui/neovim
2024-12-03 04:07:49 +00:00
imports = [
inputs.nixvim.homeManagerModules.nixvim
2024-12-05 03:11:13 +00:00
./autocmds.nix
./completion.nix
./keymaps.nix
./options.nix
./plugins
2024-12-03 04:07:49 +00:00
];
programs.nixvim = {
enable = true;
2024-12-05 14:11:10 +00:00
defaultEditor = true;
2024-12-05 03:11:13 +00:00
performance = {
combinePlugins = {
enable = true;
2024-12-20 01:30:06 +00:00
standalonePlugins = [ "hmts.nvim" "nvim-treesitter" ];
2024-12-05 03:11:13 +00:00
};
byteCompileLua.enable = true;
};
2024-12-05 14:11:10 +00:00
viAlias = true;
vimAlias = true;
2024-12-05 03:11:13 +00:00
luaLoader.enable = true;
2024-12-03 04:07:49 +00:00
};
}