34 lines
658 B
Nix
34 lines
658 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
programs.neovim = {
|
|
enable = true;
|
|
plugins = with pkgs.vimPlugins; [
|
|
vim-tmux-navigator
|
|
which-key-nvim
|
|
telescope-nvim
|
|
nvim-treesitter.withAllGrammars
|
|
nvim-lspconfig
|
|
fidget-nvim
|
|
nvim-cmp
|
|
luasnip
|
|
cmp_luasnip
|
|
cmp-nvim-lsp
|
|
mini-nvim
|
|
vim-sleuth
|
|
catppuccin-nvim
|
|
tokyonight-nvim
|
|
];
|
|
extraPackages = with pkgs; [
|
|
basedpyright
|
|
clang-tools
|
|
nixd
|
|
];
|
|
withRuby = false;
|
|
};
|
|
xdg.configFile."nvim/init.lua".text = "require('init')";
|
|
xdg.configFile."nvim/lua".source = config.u.lib.lnn "user/config/nvim/lua";
|
|
}
|