Skip to content

Commit

Permalink
plugins/nvim-web-devicons: init
Browse files Browse the repository at this point in the history
  • Loading branch information
refaelsh authored and khaneliman committed Sep 5, 2024
1 parent 8ae9e4d commit 83aed0e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@
./utils/vim-css-color.nix
./utils/vim-matchup.nix
./utils/wakatime.nix
./utils/web-devicons.nix
./utils/which-key.nix
./utils/wilder.nix
./utils/yanky.nix
Expand Down
17 changes: 17 additions & 0 deletions plugins/utils/web-devicons.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{ lib, ... }:
let
inherit (lib.nixvim) defaultNullOpts;
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "web-devicons";
originalName = "nvim-web-devicons";
luaName = "nvim-web-devicons";
package = "nvim-web-devicons";

maintainers = [ lib.maintainers.refaelsh ];

settingsExample = {
color_icons = true;
strict = true;
};
}
5 changes: 5 additions & 0 deletions tests/test-sources/plugins/utils/web-devicons.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
empty = {
plugins.web-devicons.enable = true;
};
}

0 comments on commit 83aed0e

Please sign in to comment.