aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins/web-devicons.lua
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2022-12-16 23:42:45 +0200
committersrdusr <trevorgray@srdusr.com>2022-12-16 23:42:45 +0200
commit18e3249ba8bfea656b02308225684e893d0273fa (patch)
treed8c35c98bafe2404c22ae2f186b79bddd673b683 /lua/plugins/web-devicons.lua
downloaddotfiles-18e3249ba8bfea656b02308225684e893d0273fa.tar.gz
dotfiles-18e3249ba8bfea656b02308225684e893d0273fa.zip
Squashed '.config/nvim/' content from commit f63391e
git-subtree-dir: .config/nvim git-subtree-split: f63391eac31d51b5bab84456b6900fdb3b46a285
Diffstat (limited to 'lua/plugins/web-devicons.lua')
-rw-r--r--lua/plugins/web-devicons.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/lua/plugins/web-devicons.lua b/lua/plugins/web-devicons.lua
new file mode 100644
index 0000000..b8396bc
--- /dev/null
+++ b/lua/plugins/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
+}