neovim: update neovim config after a long time (i still use emacs
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
59
pkgs/nattovim/default.nix
Normal file
59
pkgs/nattovim/default.nix
Normal file
@@ -0,0 +1,59 @@
|
||||
{ wrapNeovimUnstable, neovimUtils, neovim-unwrapped, nvimPackage ? neovim-unwrapped, vimPlugins, ... }:
|
||||
let
|
||||
nvimConfig = neovimUtils.makeNeovimConfig {
|
||||
plugins = with vimPlugins; [
|
||||
nvim-colorizer-lua
|
||||
autoclose-nvim
|
||||
toggleterm-nvim
|
||||
luasnip
|
||||
nvim-cmp
|
||||
nvim-lspconfig
|
||||
cmp-nvim-lsp
|
||||
cmp-path
|
||||
cmp-calc
|
||||
cmp-emoji
|
||||
cmp-buffer
|
||||
barbar-nvim
|
||||
nvim-web-devicons
|
||||
presence-nvim
|
||||
nvim-tree-lua
|
||||
nvim-treesitter
|
||||
lspkind-nvim
|
||||
catppuccin-nvim
|
||||
telescope-nvim
|
||||
];
|
||||
};
|
||||
in
|
||||
wrapNeovimUnstable nvimPackage (nvimConfig // {
|
||||
luaRcContent = ''
|
||||
${builtins.readFile ./init.lua}
|
||||
'';
|
||||
})
|
||||
/* wrapNeovim nvimPackage {
|
||||
configure = {
|
||||
customRC = ''
|
||||
${builtins.readFile ./init.lua}
|
||||
'';
|
||||
packages.myVimPackage = with vimPlugins; {
|
||||
start = [
|
||||
nvim-colorizer-lua
|
||||
autoclose-nvim
|
||||
toggleterm-nvim
|
||||
nvim-cmp
|
||||
nvim-lspconfig
|
||||
cmp-nvim-lsp
|
||||
cmp-path
|
||||
cmp-calc
|
||||
cmp-emoji
|
||||
cmp-buffer
|
||||
barbar-nvim
|
||||
nvim-web-devicons
|
||||
presence-nvim
|
||||
nvim-tree-lua
|
||||
nvim-treesitter
|
||||
lspkind-nvim
|
||||
catppuccin-nvim
|
||||
];
|
||||
};
|
||||
};
|
||||
}*/
|
||||
Reference in New Issue
Block a user