updates for nerdfonts 3.0

pull/282/head
ray-x 11 months ago
parent 9d95f05a1b
commit 4ba2c9557e

@ -174,7 +174,7 @@ _NgConfigValues = {
value_changed = '📝', value_changed = '📝',
value_definition = '🐶🍡', -- it is easier to see than 🦕 value_definition = '🐶🍡', -- it is easier to see than 🦕
side_panel = { side_panel = {
section_separator = '', section_separator = '󰇜',
line_num_left = '', line_num_left = '',
line_num_right = '', line_num_right = '',
inner_node = '├○', inner_node = '├○',
@ -223,7 +223,7 @@ local extend_config = function(opts)
if _NgConfigValues[key] == nil then if _NgConfigValues[key] == nil then
warn( warn(
string.format( 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, key,
vim.inspect(value) vim.inspect(value)
) )
@ -235,7 +235,7 @@ local extend_config = function(opts)
if type(value) ~= 'table' then if type(value) ~= 'table' then
info( info(
string.format( 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, key,
vim.inspect(value), vim.inspect(value),
type(value), type(value),
@ -263,7 +263,7 @@ local extend_config = function(opts)
if key == 'lsp' then if key == 'lsp' then
local lsp = require('navigator.lspclient.servers') local lsp = require('navigator.lspclient.servers')
if not vim.tbl_contains(lsp or {}, k) and k ~= 'efm' and k ~= 'null-ls' then 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 end
elseif key == 'signature_help_cfg' then elseif key == 'signature_help_cfg' then
_NgConfigValues[key][k] = v _NgConfigValues[key][k] = v
@ -271,7 +271,7 @@ local extend_config = function(opts)
info('keymap override' .. vim.inspect(v)) info('keymap override' .. vim.inspect(v))
-- skip key check and allow mapping to handle that -- skip key check and allow mapping to handle that
else else
warn(string.format('[] Key %s %s not valid', key, k)) warn(string.format('[󰎐] Key %s %s not valid', key, k))
end end
-- return -- return
end end

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

Loading…
Cancel
Save