Update neovim config

This commit is contained in:
Luj 2023-01-06 10:18:13 +01:00
parent e2642957ab
commit 5a86a25849
Signed by: luj
GPG key ID: 6FC74C847011FD83
2 changed files with 191 additions and 39 deletions

View file

@ -21,11 +21,11 @@ with lib;
config = mkIf cfg.enable {
home.packages = with pkgs; [ nixfmt git nodejs ripgrep ];
home.packages = with pkgs; [ nixfmt git nodejs ripgrep gcc ];
programs.neovim = {
enable = true;
package = pkgs.unstable.neovim-unwrapped;
package = pkgs.neovim-unwrapped;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
@ -46,10 +46,9 @@ with lib;
};
withPython3 = true;
plugins = with pkgs.unstable.vimPlugins; [
plugins = with pkgs.vimPlugins; [
#theme
onedarker
# LSP
nvim-lspconfig
@ -60,6 +59,10 @@ with lib;
nvim-web-devicons
pkgs.unstable.vimPlugins.bufferline-nvim
nvim-colorizer-lua
pears-nvim
nvim-tree-lua
(nvim-treesitter.withPlugins (ps: with ps; [
tree-sitter-nix
@ -67,11 +70,6 @@ with lib;
]))
bufferline-nvim
nvim-colorizer-lua
pears-nvim
nvim-tree-lua
vim-lastplace
vim-nix
vim-nixhash
@ -83,7 +81,6 @@ with lib;
vim-scriptease
semshi
coc-prettier
coc-rust-analyzer
rust-vim
];