updates for nerdfonts 3.0

This commit is contained in:
ray-x 2023-07-25 22:22:02 +10:00
parent 9d95f05a1b
commit 4ba2c9557e
2 changed files with 27 additions and 27 deletions

View File

@ -174,7 +174,7 @@ _NgConfigValues = {
value_changed = '📝',
value_definition = '🐶🍡', -- it is easier to see than 🦕
side_panel = {
section_separator = '',
section_separator = '󰇜',
line_num_left = '',
line_num_right = '',
inner_node = '├○',
@ -223,7 +223,7 @@ local extend_config = function(opts)
if _NgConfigValues[key] == nil then
warn(
string.format(
'[] Deprecated? Key %s is not in default setup, it could be incorrect to set to %s',
'[󰎐] Deprecated? Key %s is not in default setup, it could be incorrect to set to %s',
key,
vim.inspect(value)
)
@ -235,7 +235,7 @@ local extend_config = function(opts)
if type(value) ~= 'table' then
info(
string.format(
'[] Reset type: Key %s setup value %s type %s , from %s',
'[󰎐] Reset type: Key %s setup value %s type %s , from %s',
key,
vim.inspect(value),
type(value),
@ -263,7 +263,7 @@ local extend_config = function(opts)
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))
info(string.format('[󰎐] extend LSP support for %s %s ', key, k))
end
elseif key == 'signature_help_cfg' then
_NgConfigValues[key][k] = v
@ -271,7 +271,7 @@ local extend_config = function(opts)
info('keymap override' .. vim.inspect(v))
-- skip key check and allow mapping to handle that
else
warn(string.format('[] Key %s %s not valid', key, k))
warn(string.format('[󰎐] Key %s %s not valid', key, k))
end
-- return
end

View File

@ -1,19 +1,19 @@
local kind_symbols = {
Text = '',
Text = '',
Method = 'ƒ',
Function = '',
Constructor = '',
Field = '',
Field = '󰠴',
Variable = '',
Class = '',
Interface = '',
Module = '',
Module = '󰕳',
Property = '',
Unit = '',
Value = '',
Value = '󰰪',
Enum = '',
Keyword = '',
Snippet = '',
Keyword = '',
Snippet = '',
Color = '',
File = '',
Reference = '',
@ -21,28 +21,28 @@ local kind_symbols = {
EnumMember = '',
Constant = '',
Struct = '',
Event = '',
Operator = '',
Event = '',
Operator = '',
TypeParameter = '',
Default = '',
}
local CompletionItemKind = {
'',
'',
'𝔉 ',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'𝕰 ',
'',
'',
'',
'󰘍',
'',
'',
'',
@ -50,7 +50,7 @@ local CompletionItemKind = {
'',
'',
'',
'',
'󰯹',
'',
'',
'',
@ -88,7 +88,7 @@ local CompletionItemKind = {
local SymbolItemKind = {
'',
' ',
' ',
'',
'',
'',
@ -102,16 +102,16 @@ local SymbolItemKind = {
'',
'',
'',
'',
'󰠴',
'',
'',
'',
'',
'',
'',
'󰇥',
'󰎬',
'',
'',
'',
'󰯹',
'',
'',
'',
}