Vim config update
This commit is contained in:
parent
828c687eff
commit
629816db84
4 changed files with 20 additions and 4 deletions
|
|
@ -6,5 +6,6 @@
|
||||||
[ nodePackages.typescript-language-server ]
|
[ nodePackages.typescript-language-server ]
|
||||||
++ lib.optionals config.programs.kakoune.enable
|
++ lib.optionals config.programs.kakoune.enable
|
||||||
[ nodePackages.typescript-language-server ];
|
[ nodePackages.typescript-language-server ];
|
||||||
|
programs.neovim.withNodeJs = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,5 @@
|
||||||
[ nixpkgs-fmt nixfmt nix-prefetch-scripts nix-review nix-tree ]
|
[ nixpkgs-fmt nixfmt nix-prefetch-scripts nix-review nix-tree ]
|
||||||
++ lib.optionals config.programs.helix.enable [ nil ]
|
++ lib.optionals config.programs.helix.enable [ nil ]
|
||||||
++ lib.optionals config.programs.kakoune.enable [ rnix-lsp ];
|
++ lib.optionals config.programs.kakoune.enable [ rnix-lsp ];
|
||||||
|
programs.neovim.plugins = with pkgs.vimPlugins; [ vim-nix ];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,4 +13,5 @@
|
||||||
# python3Packages.pyls-black # BLACK # NOT UPDATED
|
# python3Packages.pyls-black # BLACK # NOT UPDATED
|
||||||
python3Packages.pyls-isort # ISORT
|
python3Packages.pyls-isort # ISORT
|
||||||
];
|
];
|
||||||
|
programs.neovim.withPython3 = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,23 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs.vimPlugins; [ vim-airline vim-airline-themes ];
|
plugins = with pkgs.vimPlugins; [
|
||||||
|
{
|
||||||
|
plugin = airline;
|
||||||
|
config = "let g:airline#extensions#tabline#left_alt_sep = '>'";
|
||||||
|
}
|
||||||
|
vim-airline-themes
|
||||||
|
fugitive
|
||||||
|
surround
|
||||||
|
];
|
||||||
# settings = { ignorecase = true; };
|
# settings = { ignorecase = true; };
|
||||||
# extraConfig = ''
|
coc.enable = true;
|
||||||
# set mouse=a
|
viAlias = true;
|
||||||
# '';
|
vimAlias = true;
|
||||||
|
vimdiffAlias = true;
|
||||||
|
extraConfig = ''
|
||||||
|
set mouse=a
|
||||||
|
let g:airline#extensions#tabline#left_alt_sep = '>'
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue