Trying to fix nvim plugins

This commit is contained in:
Bryan Ramos 2023-06-07 10:28:02 -04:00
parent d863e0e539
commit 8ea2f91e2a
5 changed files with 34 additions and 14 deletions

View file

@ -0,0 +1,19 @@
{ pkgs, lib, ... }:
let
theme = import ./theme;
treesitter = import ./treesitter;
editing = import ./editing;
lsp = import ./lsp;
luasnip = import ./luasnip;
tools = import ./tools;
in
builtins.concatMap (dir: dir { inherit pkgs lib; }) [
theme
treesitter
editing
lsp
luasnip
tools
]

View file

@ -1,19 +1,9 @@
{ pkgs, lib, ... }:
let
theme = import ./theme;
treesitter = import ./treesitter;
editing = import ./editing;
lsp = import ./lsp;
luasnip = import ./luasnip;
tools = import ./tools;
lazyvim = import ./lazyvim;
in
builtins.concatMap (dir: dir { inherit pkgs lib; }) [
theme
treesitter
editing
lsp
luasnip
tools
lazyvim
]

View file

@ -0,0 +1,6 @@
{ pkgs, ... }:
with pkgs.vimPlugins;
[
{ plugin = LazyVim; }
]

View file

@ -13,7 +13,9 @@ in
vimAlias = true;
# extraLuaConfig = import ./config/init.nix;
plugins = import (./config/plugins) { inherit pkgs lib; };
plugins = with pkgs.vimPlugins; [
LazyVim
];
extraPackages = import ./config/servers.nix { inherit pkgs; };
};
};