aboutsummaryrefslogtreecommitdiff
path: root/lua/user/web-devicons.lua
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2022-10-19 23:55:51 +0200
committersrdusr <trevorgray@srdusr.com>2022-10-19 23:55:51 +0200
commit27a7c25f0727b373b5d0e4693d5bb2cb4c9c3a88 (patch)
treee6a22147b9ff4bf1a4dbe30ae0072a569a6f1e4c /lua/user/web-devicons.lua
parent8242c19f6427996a94e6f6079b11ccebdb003cf2 (diff)
downloaddotfiles-27a7c25f0727b373b5d0e4693d5bb2cb4c9c3a88.tar.gz
dotfiles-27a7c25f0727b373b5d0e4693d5bb2cb4c9c3a88.zip
Made Sourcing lua config easier
Diffstat (limited to 'lua/user/web-devicons.lua')
-rw-r--r--lua/user/web-devicons.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/lua/user/web-devicons.lua b/lua/user/web-devicons.lua
new file mode 100644
index 0000000..b8396bc
--- /dev/null
+++ b/lua/user/web-devicons.lua
@@ -0,0 +1,12 @@
+local status, icons = pcall(require, "nvim-web-devicons")
+if (not status) then return end
+
+icons.setup {
+ -- your personnal icons can go here (to override)
+ -- DevIcon will be appended to `name`
+ override = {
+ },
+ -- globally enable default icons (default to false)
+ -- will get overriden by `get_icons` option
+ default = true
+}