Neovim module
This commit is contained in:
parent
5b1b97b8b6
commit
d94e4cef3b
|
@ -21,6 +21,7 @@
|
|||
{
|
||||
imports = [
|
||||
../../modules/programs/shell.nix
|
||||
../../modules/programs/neovim.nix
|
||||
];
|
||||
home.username = "nathan";
|
||||
home.homeDirectory = "/home/nathan/";
|
||||
|
|
31
home-manager/modules/programs/neovim.nix
Normal file
31
home-manager/modules/programs/neovim.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
vim-nix
|
||||
airline
|
||||
{
|
||||
plugin = onehalf;
|
||||
config = ''
|
||||
colorscheme onehalfdark
|
||||
let g:airline_theme='onehalflight'
|
||||
'';
|
||||
}
|
||||
vim-autoformat
|
||||
vim-surround
|
||||
];
|
||||
extraLuaConfig = ''
|
||||
vim.o.termguicolors = true
|
||||
'';
|
||||
withPython3 = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue