diff options
Diffstat (limited to 'common/home/programs/nixvim/plugins/default.nix')
| -rw-r--r-- | common/home/programs/nixvim/plugins/default.nix | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/common/home/programs/nixvim/plugins/default.nix b/common/home/programs/nixvim/plugins/default.nix index 4898ff6..b9f40a9 100644 --- a/common/home/programs/nixvim/plugins/default.nix +++ b/common/home/programs/nixvim/plugins/default.nix @@ -1,20 +1,21 @@ { pkgs, ... }: let - plugins = [ - "web-devicons" - "nvim-tree" - "telescope" - "lualine" - "treesitter" - ]; +plugins = [ + "web-devicons" + "nvim-tree" + "telescope" + "lualine" + "treesitter" + "typst-preview" +]; in builtins.listToAttrs ( - map (n: { - name = n; - value = - if builtins.pathExists ./${n}.nix then - (import ./${n}.nix { inherit pkgs; }) - else - { enable = true; }; - }) plugins + map (n: { + name = n; + value = + if builtins.pathExists ./${n}.nix then + (import ./${n}.nix { inherit pkgs; }) + else + { enable = true; }; + }) plugins ) |