diff --git a/lua/plugins/configs/cmp.lua b/lua/plugins/configs/cmp.lua index 365ec2c..14450ab 100644 --- a/lua/plugins/configs/cmp.lua +++ b/lua/plugins/configs/cmp.lua @@ -15,7 +15,7 @@ local formatting_style = { fields = field_arrangement[cmp_style] or { "abbr", "kind", "menu" }, format = function(_, item) - local icons = require("nvchad_ui.icons").lspkind + local icons = require "nvchad_ui.icons.lspkind" local icon = (cmp_ui.icons and icons[item.kind]) or "" if cmp_style == "atom" or cmp_style == "atom_colored" then diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 8719168..c8efe5d 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -53,7 +53,7 @@ local default_plugins = { { "nvim-tree/nvim-web-devicons", opts = function() - return { override = require("nvchad_ui.icons").devicons } + return { override = require"nvchad_ui.icons.devicons" } end, config = function(_, opts) dofile(vim.g.base46_cache .. "devicons")