added enable option to nvim
changed home-manager personal config namespace from home.* to user.*
This commit is contained in:
parent
322788aa3a
commit
6f0e167087
30 changed files with 539 additions and 525 deletions
|
@ -1,21 +1,24 @@
|
|||
{
|
||||
configs,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.nixvim = {
|
||||
plugins.comment.enable = true;
|
||||
plugins.marks.enable = true;
|
||||
plugins.surround.enable = true;
|
||||
plugins.todo-comments.enable = true;
|
||||
plugins.leap = {
|
||||
enable = true;
|
||||
addDefaultMappings = true;
|
||||
config = lib.mkIf config.user.nvim.enable {
|
||||
programs.nixvim = {
|
||||
plugins.comment.enable = true;
|
||||
plugins.marks.enable = true;
|
||||
plugins.surround.enable = true;
|
||||
plugins.todo-comments.enable = true;
|
||||
plugins.leap = {
|
||||
enable = true;
|
||||
addDefaultMappings = true;
|
||||
};
|
||||
extraPlugins = with pkgs.vimPlugins; [
|
||||
vim-numbertoggle
|
||||
dressing-nvim
|
||||
];
|
||||
extraConfigLua = ''require("dressing").setup({})'';
|
||||
};
|
||||
extraPlugins = with pkgs.vimPlugins; [
|
||||
vim-numbertoggle
|
||||
dressing-nvim
|
||||
];
|
||||
extraConfigLua = ''require("dressing").setup({})'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue