mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
moved to neovim
This commit is contained in:
parent
8e626d25e7
commit
2d60e04682
20 changed files with 147 additions and 103 deletions
34
home-manager/neovim.nix
Normal file
34
home-manager/neovim.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
withNodeJs = true;
|
||||
withPython3 = true;
|
||||
withRuby = true;
|
||||
coc = {
|
||||
enable = true;
|
||||
package = pkgs.vimPlugins.coc-nvim;
|
||||
};
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
vim-nix
|
||||
vim-polyglot
|
||||
vim-smoothie
|
||||
tokyonight-nvim
|
||||
rainbow
|
||||
indentLine
|
||||
undotree
|
||||
];
|
||||
extraConfig = ''
|
||||
set tabstop=2
|
||||
set expandtab
|
||||
set shiftwidth=2
|
||||
set ignorecase
|
||||
set incsearch
|
||||
set number
|
||||
set noswapfile
|
||||
let mapleader = "'"
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue