From 76510ad49ce22e4da93e09086711abcebc35c396 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 5 Sep 2024 14:57:27 +0200 Subject: [PATCH] nvim: add config for devicons --- nvim/lua/user/plugins/core.lua | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 nvim/lua/user/plugins/core.lua diff --git a/nvim/lua/user/plugins/core.lua b/nvim/lua/user/plugins/core.lua new file mode 100644 index 0000000..18a894a --- /dev/null +++ b/nvim/lua/user/plugins/core.lua @@ -0,0 +1,33 @@ +return { + { import = "user.plugins.core.colorscheme" }, + -- Icons + { + 'nvim-tree/nvim-web-devicons', + opts = { + override = { + php = { + icon = "󰌟", + color = "#4F5B93", + name = "Php" + } + }, + override_by_filename = { + ["artisan"] = { + icon = "", + color = "#f05340", + name = "LaravelArtisan" + }, + ["phpunit.xml"] = { + icon = "󰙨", + color = "#0d6efd", + name = "PhpUnit" + }, + -- ["composer.json"] = { + -- icon = "", + -- color = "#9e9e9e", + -- name = "Composer" + -- } + }; + } + }, +}