41 lines
719 B
Nix
41 lines
719 B
Nix
{pkgs, ...}: {
|
|
# NeoVIm config
|
|
# Imported by default by ../base.nix
|
|
|
|
programs.neovim = {
|
|
enable = true;
|
|
defaultEditor = true;
|
|
|
|
configure = {
|
|
customRC = ''
|
|
set number
|
|
set list
|
|
if &diff
|
|
colorscheme blue
|
|
endif
|
|
'';
|
|
packages.myVimPackage = with pkgs.vimPlugins; {
|
|
start = [
|
|
ctrlp
|
|
nvim-tree-lua
|
|
indent-blankline-nvim
|
|
|
|
nvim-lspconfig
|
|
nvim-treesitter.withAllGrammars
|
|
plenary-nvim
|
|
gruvbox-material
|
|
mini-nvim
|
|
];
|
|
};
|
|
|
|
extraLuaConfig =
|
|
/*
|
|
lua
|
|
*/
|
|
''
|
|
require("nvim-tree").setup()
|
|
'';
|
|
};
|
|
};
|
|
}
|