diff --git a/lua/plugin/lspconfig.lua b/lua/plugin/lspconfig.lua index d676f62..9f6eb4c 100644 --- a/lua/plugin/lspconfig.lua +++ b/lua/plugin/lspconfig.lua @@ -4,7 +4,7 @@ return { -- event = "BufReadPre", config = function() require('lspconfig.ui.windows').default_options.border = 'rounded' - vim.api.nvim_set_hl(0, "LspInfoBorder", { bg = none, fg = "#d4be98" }) + vim.api.nvim_set_hl(0, "LspInfoBorder", { bg = none, fg = "#9da9a0" }) local opts = { noremap = true, silent = true } vim.keymap.set('n', 'cd', vim.diagnostic.open_float, opts) vim.keymap.set('n', 'cl', "LspInfo", opts) @@ -38,9 +38,7 @@ return { vim.keymap.set('v', 'cf', function() vim.lsp.buf.format { async = true } end, bufopts) end - local signs = { Error = "✘ ", Warn = " ", Hint = " ", Info = " " } - -- local signs = { Error = "✘ ", Warn = " ", Hint = " ", Info = " " } - -- local signs = { Error = "✘ ", Warn = "⚠ ", Hint = " ", Info = " " } -- Unicode + local signs = { Error = "󰈸 ", Warn = " ", Hint = "󰌶 ", Info = " " } for type, icon in pairs(signs) do local hl = "DiagnosticSign" .. type vim.fn.sign_define(hl, { text = icon, texthl = hl }) @@ -63,7 +61,7 @@ return { virtual_text = { prefix = '●', -- Could be '●', '■', 'x', '▎' }, - update_in_insert = true + update_in_insert = true, }) -- LSP settings (for overriding per client) @@ -83,7 +81,7 @@ return { icons = { package_installed = "✔", package_pending = "➜", - package_uninstalled = "✘" + package_uninstalled = "✗" } } }) diff --git a/lua/plugin/nvim-cmp.lua b/lua/plugin/nvim-cmp.lua index 4f078f9..9a5d422 100644 --- a/lua/plugin/nvim-cmp.lua +++ b/lua/plugin/nvim-cmp.lua @@ -8,14 +8,14 @@ return { "rafamadriz/friendly-snippets", config = function() require("luasnip.loaders.from_vscode").lazy_load() - vim.api.nvim_set_hl(0, "PmenuSel", { fg = 'NONE', bg = '#141617' }) - vim.api.nvim_set_hl(0, "Pmenu", { fg = 'NONE', bg = '#1d2021' }) - vim.api.nvim_set_hl(0, "CmpItemMenu", { fg = 'NONE', bg = '#141617' }) - vim.api.nvim_set_hl(0, "CmpItemMenuDefault", { fg = 'NONE', bg = '#141617' }) - vim.api.nvim_set_hl(0, "CmpItemKindFunction", { fg = '#d3869b', bg = 'NONE', italic = true }) - vim.api.nvim_set_hl(0, "CmpItemKindSnippet", { fg = '#d8a657', bg = 'NONE', italic = true }) - vim.api.nvim_set_hl(0, "CmpItemKindText", { fg = '#ddc7a1', bg = 'NONE', italic = true }) - vim.api.nvim_set_hl(0, "CmpItemKindVariable", { fg = '#7daea3', bg = 'NONE', italic = true }) + vim.api.nvim_set_hl(0, "PmenuSel", { fg = 'NONE', bg = '#272e33' }) + vim.api.nvim_set_hl(0, "Pmenu", { fg = 'NONE', bg = '#1e2326' }) + vim.api.nvim_set_hl(0, "CmpItemMenu", { fg = 'NONE', bg = '#272e33' }) + vim.api.nvim_set_hl(0, "CmpItemMenuDefault", { fg = 'NONE', bg = '#272e33' }) + vim.api.nvim_set_hl(0, "CmpItemKindFunction", { fg = '#d699b6', bg = 'NONE', italic = true }) + vim.api.nvim_set_hl(0, "CmpItemKindSnippet", { fg = '#dbbc7f', bg = 'NONE', italic = true }) + vim.api.nvim_set_hl(0, "CmpItemKindText", { fg = '#9da9a0', bg = 'NONE', italic = true }) + vim.api.nvim_set_hl(0, "CmpItemKindVariable", { fg = '#7fbbb3', bg = 'NONE', italic = true }) end, }, },