46 lines
1006 B
Nix
46 lines
1006 B
Nix
{ inputs, config, pkgs, ... }:
|
|
|
|
{
|
|
programs.neovim = {
|
|
enable = true;
|
|
package = pkgs.neovim-nightly;
|
|
defaultEditor = false;
|
|
configure = {
|
|
customRC = ''
|
|
lua << EOF
|
|
${builtins.readFile ./init.lua}
|
|
EOF
|
|
'';
|
|
packages.myVimPackage = with pkgs.vimPlugins; {
|
|
start = [
|
|
nvim-colorizer-lua
|
|
bracey-vim
|
|
auto-pairs
|
|
vim-floaterm
|
|
vim-closetag
|
|
nerdcommenter
|
|
nvim-cmp
|
|
luasnip
|
|
friendly-snippets
|
|
cmp_luasnip
|
|
cmp-nvim-lsp
|
|
cmp-path
|
|
cmp-calc
|
|
cmp-emoji
|
|
# cmp-look
|
|
cmp-buffer
|
|
nvim-lspconfig
|
|
barbar-nvim
|
|
presence-nvim
|
|
nvim-web-devicons
|
|
nvim-tree-lua
|
|
(nvim-treesitter.withPlugins (plugins: pkgs.tree-sitter.allGrammars))
|
|
vim-latex-live-preview
|
|
lspkind-nvim
|
|
catppuccin-nvim
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|