aboutsummaryrefslogtreecommitdiff
path: root/common/config/nvim/lua/plugins/web-devicons.lua
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2025-08-30 00:50:31 +0200
committersrdusr <trevorgray@srdusr.com>2025-08-30 00:50:31 +0200
commit5928998af5404ae2be84c6cecc10ebf84bd3f3ed (patch)
treec72a17cb6eb84f01c52666e3f95853cf5e636bb8 /common/config/nvim/lua/plugins/web-devicons.lua
parentbba0c17c6c0bc310e44ae45b9573d2dc99b8157f (diff)
parent2a8020a2e9b7ef2ee77ddee14892127a4eb95187 (diff)
downloaddotfiles-5928998af5404ae2be84c6cecc10ebf84bd3f3ed.tar.gz
dotfiles-5928998af5404ae2be84c6cecc10ebf84bd3f3ed.zip
Add 'common/config/nvim/' from commit '2a8020a2e9b7ef2ee77ddee14892127a4eb95187'
git-subtree-dir: common/config/nvim git-subtree-mainline: bba0c17c6c0bc310e44ae45b9573d2dc99b8157f git-subtree-split: 2a8020a2e9b7ef2ee77ddee14892127a4eb95187
Diffstat (limited to 'common/config/nvim/lua/plugins/web-devicons.lua')
-rw-r--r--common/config/nvim/lua/plugins/web-devicons.lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/common/config/nvim/lua/plugins/web-devicons.lua b/common/config/nvim/lua/plugins/web-devicons.lua
new file mode 100644
index 0000000..06f2d1c
--- /dev/null
+++ b/common/config/nvim/lua/plugins/web-devicons.lua
@@ -0,0 +1,22 @@
+local devicons = require('nvim-web-devicons')
+
+-- Set devicons overrides early.
+devicons.setup({
+ override = {
+ js = { icon = '󰌞', color = '#f5c06f', name = 'Js' },
+ jsx = { icon = '', color = '#689fb6', name = 'Jsx' },
+ ts = { icon = '󰛦', color = '#4377c1', name = 'Ts' },
+ tsx = { icon = '', color = '#4377c1', name = 'Tsx' },
+ png = { icon = '󰋩', color = '#d4843e', name = 'Png' },
+ webp = { icon = '󰋩', color = '#3498db', name = 'Webp' },
+ jpg = { icon = '󰋩', color = '#16a085', name = 'Jpg' },
+ svg = { icon = '󰋩', color = '#3affdb', name = 'Svg' },
+ zsh = {
+ icon = '',
+ color = '#428850',
+ cterm_color = '65',
+ name = 'Zsh',
+ },
+ },
+ color_icons = true,
+})