dotfiles/home/modules/tui/neovim/default.nix
2024-12-19 19:30:06 -06:00

30 lines
621 B
Nix

{ inputs, ... }: {
# neovim config largely lifted from https://github.com/GaetanLepage/nix-config/tree/master/home/modules/tui/neovim
imports = [
inputs.nixvim.homeManagerModules.nixvim
./autocmds.nix
./completion.nix
./keymaps.nix
./options.nix
./plugins
];
programs.nixvim = {
enable = true;
defaultEditor = true;
performance = {
combinePlugins = {
enable = true;
standalonePlugins = [ "hmts.nvim" "nvim-treesitter" ];
};
byteCompileLua.enable = true;
};
viAlias = true;
vimAlias = true;
luaLoader.enable = true;
};
}