Initial commit
This commit is contained in:
41
modules/hm/neovim.nix
Normal file
41
modules/hm/neovim.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
programs.neovim = {
|
||||
defaultEditor = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
coc = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
extraPackages = with pkgs; [
|
||||
universal-ctags
|
||||
];
|
||||
extraConfig = ''
|
||||
set number relativenumber
|
||||
set list
|
||||
set listchars=tab:→\ ,space:·,nbsp:␣,trail:•,eol:¶,precedes:«,extends:»
|
||||
set ts=2
|
||||
set softtabstop=2
|
||||
set shiftwidth=2
|
||||
set smarttab
|
||||
set smartindent
|
||||
set autoindent
|
||||
colorscheme zaibatsu
|
||||
'';
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
vim-nix
|
||||
nerdtree
|
||||
neogit
|
||||
mru
|
||||
tagbar
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user