From bedf65e668e53b2be3a122ce6c6899e310ba27e3 Mon Sep 17 00:00:00 2001 From: ray-x Date: Tue, 24 Oct 2023 22:44:42 +1100 Subject: [PATCH] Lsp kind for nerdfont 3 --- lua/navigator.lua | 6 +++--- lua/navigator/lspclient/lspkind.lua | 22 +++++++++++----------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lua/navigator.lua b/lua/navigator.lua index fbc2abc..b0f7fc4 100644 --- a/lua/navigator.lua +++ b/lua/navigator.lua @@ -284,9 +284,9 @@ local extend_config = function(opts) if _NgConfigValues[key][k] == nil then if key == 'lsp' then local lsp = require('navigator.lspclient.servers') - if not vim.tbl_contains(lsp or {}, k) and k ~= 'efm' and k ~= 'null-ls' then - info(string.format('[󰎐] extend LSP support for %s %s ', key, k)) - end + -- if not vim.tbl_contains(lsp or {}, k) and k ~= 'efm' and k ~= 'null-ls' then + -- info(string.format('[󰎐] extend LSP support for %s %s ', key, k)) + -- end elseif key == 'signature_help_cfg' then _NgConfigValues[key][k] = v elseif key == 'keymaps' then diff --git a/lua/navigator/lspclient/lspkind.lua b/lua/navigator/lspclient/lspkind.lua index 1c85943..0e80613 100644 --- a/lua/navigator/lspclient/lspkind.lua +++ b/lua/navigator/lspclient/lspkind.lua @@ -3,7 +3,7 @@ local kind_symbols = { Method = 'ƒ', Function = '', Constructor = '', - Field = '󰠴', + Field = '', Variable = '', Class = '󰠱', Interface = '', @@ -89,25 +89,25 @@ local CompletionItemKind = { local SymbolItemKind = { ' ', ' ', - ' ', + ' ', ' ', - 'פּ ', + ' ', 'ƒ ', - ' ', - 'ﴲ ', + ' ', + '', ' ', - '𝕰 ', - '蘒', - ' ', + ' ', + ' ', + '󰡱 ', ' ', ' ', ' ', - '󰠴', + '', ' ', ' ', - ' ', + '󰇥 ', ' ', - '󰇥', + '󰟢', '󰎬', ' ', '󰯹',