reorganize neovim hm
This commit is contained in:
parent
c06618330b
commit
bcbf30fd2e
1 changed files with 5 additions and 9 deletions
14
home.nix
14
home.nix
|
@ -61,6 +61,8 @@
|
|||
|
||||
programs.neovim =
|
||||
let
|
||||
package = inputs.neovim-overlay.packages.${pkgs.system}.default;
|
||||
|
||||
nvim-treesitter = pkgs.vimPlugins.nvim-treesitter;
|
||||
treesitterWithGrammars = (nvim-treesitter.withPlugins (_: nvim-treesitter.allGrammars));
|
||||
|
||||
|
@ -70,10 +72,9 @@
|
|||
};
|
||||
in
|
||||
{
|
||||
inherit package;
|
||||
|
||||
enable = true;
|
||||
package = inputs.neovim-overlay.packages.${pkgs.system}.default;
|
||||
withNodeJs = true;
|
||||
# extraConfig = ''vim.opt.runtimepath:append ("${treesitter-parsers}")'';
|
||||
extraLuaConfig = ''
|
||||
-- bootstrap lazy.nvim, LazyVim and your plugins
|
||||
require("config.lazy")
|
||||
|
@ -82,15 +83,10 @@
|
|||
|
||||
vim.opt.runtimepath:append ("${treesitter-parsers}")
|
||||
'';
|
||||
extraPackages = with pkgs; [
|
||||
lua-language-server
|
||||
rust-analyzer-unwrapped
|
||||
nil
|
||||
];
|
||||
|
||||
plugins = [
|
||||
treesitterWithGrammars
|
||||
];
|
||||
withNodeJs = true;
|
||||
};
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
|
|
Loading…
Reference in a new issue