Skip to content

Commit

Permalink
fix: some icons were updated and moved to new codepoints for nerdfont…
Browse files Browse the repository at this point in the history
… v3.0.0
  • Loading branch information
adoyle-h committed Nov 24, 2023
1 parent 7413ea9 commit 89452cf
Show file tree
Hide file tree
Showing 14 changed files with 58 additions and 61 deletions.
56 changes: 28 additions & 28 deletions lua/one/config/symbol.lua
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
return {
symbolMap = {
DEBUG = '', --
ERROR = '', --
ERROR = '󰅚', --
INFO = '', --
TRACE = '',
WARN = '', --
OTHER = '',
HINT = '',
HINT = '󰌶',
LOCK = '',
BRANCH = '',
INSTALLED = '',
UNINSTALLED = '',
PENDING = '',
INSTALLED = '󰄲',
UNINSTALLED = '󰄱',
PENDING = '󰅢',
MID_DOT = '',
RENAMED = '',
RENAMED = '󰁕',
DELETED = '', -- '✖'
ADDED = '', -- '✚'
MODIFIED = '',
GIT_UNTRACKED = '',
GIT_STAGED = '',
GIT_STAGED = '󰃨',
GIT_IGNORED = '',
GIT_UNSTAGED = '*',
GIT_CONFLICT = '',
BOOKMARK = '',
BOOKMARK_ANNOTATION = '',
BOOKMARK = '󰓹',
BOOKMARK_ANNOTATION = '󰜢',
ARROW_UP = '',
ARROW_DOWN = '',
ARROW_LEFT = '',
Expand All @@ -36,38 +36,38 @@ return {
},

kindSymbolMap = {
Array = '',
Array = '󰅪',
Boolean = '',
Class = '',
Class = '󰠱',
Collapsed = '',
Color = '',
Color = '󰏘',
Constant = '🄲',
Constructor = '',
Enum = '',
EnumMember = '',
Event = '',
Field = '', -- '',
File = '',
Folder = '',
Function = '',
Interface = '', -- ''
Keyword = '',
Method = '',
Field = '', -- '󰜢',
File = '󰈙',
Folder = '󰉋',
Function = '󰊕',
Interface = '', -- '󰌗'
Keyword = '󰌋',
Method = '󰊕',
Module = '',
Namespace = '',
Null = '',
Number = '',
Object = '',
Operator = '',
Number = '󰎠',
Object = '󰅩',
Operator = '󰆕',
Package = '',
Property = '',
Reference = '',
Property = '󰆧',
Reference = '󰈇',
Snippet = '',
String = '',
Struct = '',
Text = '',
TypeParameter = '𝕋', -- ''
Unit = '',
Struct = '󰙅',
Text = '󰉿',
TypeParameter = '𝕋', -- '󰊄'
Unit = '󰑭',
Variable = '𝕍', -- '', '𝒗'
},
}
10 changes: 5 additions & 5 deletions lua/one/plugins/alpha.lua
Original file line number Diff line number Diff line change
Expand Up @@ -259,15 +259,15 @@ M.defaultConfig = function()
button('<SPACE>m', ' File Explorer'),
button('<SPACE>r', ' Recently Opened Files'),
button('<SPACE>f', ' Search File'),
button('<SPACE>/', ' Search Contents'),
button('<SPACE>/', '󰈞 Search Contents'),
button('<SPACE>k', ' List Keymaps'),
button('<SPACE>s', ' List Sessions'),
button('<SPACE>p', ' Run Command'),
button('<SPACE>p', '󰘳 Run Command'),
button('<SPACE>P', ' List Plugin Status'),
button('<SPACE>v', ' List Vim Options'),
button('<SPACE>n', ' List Messages'),
button('<SPACE>N', ' List Notifications'),
button('<SPACE>h', ' Find Help'),
button('<SPACE>n', '󰍩 List Messages'),
button('<SPACE>N', '󰍢 List Notifications'),
button('<SPACE>h', '󰞋 Find Help'),
button('q', ' Quit', ':qa<CR>'),
},
opts = { spacing = 0 },
Expand Down
4 changes: 2 additions & 2 deletions lua/one/plugins/barbar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ M.defaultConfig = {
-- Configure icons on the bufferline.
icon_separator_active = '',
icon_separator_inactive = ' ',
icon_close_tab = '',
icon_close_tab = '󰅖',
icon_close_tab_modified = '', -- '*'
icon_pinned = '',
icon_pinned = '󰐃',

-- If true, new buffers will be inserted at the start/end of the list.
-- Default is to insert after current buffer.
Expand Down
2 changes: 1 addition & 1 deletion lua/one/plugins/bufferline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ M.defaultConfig = function(config)
show_tab_indicators = true,
show_duplicate_prefix = true,
show_close_icon = false,
buffer_close_icon = '',
buffer_close_icon = '󰅖',
modified_icon = '*',
close_icon = '',
left_trunc_marker = '',
Expand Down
2 changes: 1 addition & 1 deletion lua/one/plugins/dap/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ M.defaultConfig = {
},
}

-- 
-- 󰆹󰆷󰆸
M.signs = {
DapBreakpoint = { text = 'B' },
DapBreakpointCondition = { text = 'C' },
Expand Down
6 changes: 3 additions & 3 deletions lua/one/plugins/dap/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ return {
icons = {
pause = '',
play = '',
step_into = '',
step_over = '',
step_out = '',
step_into = '󰆹',
step_over = '󰆷',
step_out = '󰆸',
step_back = '',
run_last = '',
terminate = '',
Expand Down
2 changes: 1 addition & 1 deletion lua/one/plugins/indent-line.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ local M = {
M.defaultConfig = {
'indentLine',
{
line = '', -- '┊', '', '⎜', '⎸', '│', '⎜', '⎜', '⎜'
line = '', -- '┊', '󰇙', '⎜', '⎸', '│', '⎜', '⎜', '⎜'
excludeFileType = {
'alpha', -- goolord/alpha-nvim, see plugins/alpha.lua
},
Expand Down
15 changes: 6 additions & 9 deletions lua/one/plugins/neo-tree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ M.defaultConfig = function(config)
folder_empty = '',
-- The next two settings are only a fallback, if you use nvim-web-devicons and configure default icons there
-- then these will never be used.
default = '',
default = '󰈙',
highlight = 'NeoTreeFileIcon',
},

Expand Down Expand Up @@ -399,11 +399,11 @@ M.defaultConfig = function(config)
-- source = '', -- string
-- display_name = '', -- string | nil
-- },
{ source = 'filesystem', display_name = ' File' },
{ source = 'buffers', display_name = ' Buf' },
{ source = 'git_status', display_name = ' Git' },
{ source = 'diagnostics', display_name = '裂Diag' },
{ source = 'zk', display_name = ' ZK' },
{ source = 'filesystem', display_name = ' 󰈢 File' },
{ source = 'buffers', display_name = '󰽘 Buf' },
{ source = 'git_status', display_name = '󰊢 Git' },
{ source = 'diagnostics', display_name = '󰒡Diag' },
{ source = 'zk', display_name = '󰘸 ZK' },
},
content_layout = 'start', -- string
tabs_layout = 'equal', -- string
Expand Down Expand Up @@ -494,11 +494,8 @@ end

M.keymaps = {
{ 'n', '<space>b', ':Neotree toggle show buffers<CR>', { silent = true } },

{ 'n', '<space>g', ':Neotree toggle show git_status<CR>', { silent = true } },

{ 'n', '<space>m', ':Neotree toggle reveal<CR>', { silent = true } },

{ 'n', '<space>M', ':Neotree focus reveal<CR>', { silent = true } },
}

Expand Down
2 changes: 1 addition & 1 deletion lua/one/plugins/noice.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ M.defaultConfig = function()
search_down = { kind = 'search', pattern = '^/', icon = '', lang = 'regex' },
search_up = { kind = 'search', pattern = '^%?', icon = ' ', lang = 'regex' },
filter = { pattern = '^:%s*!', icon = '', lang = 'bash' },
man = { pattern = '^:%s*Man%s+', icon = '', lang = 'bash' },
man = { pattern = '^:%s*Man%s+', icon = '󰗚', lang = 'bash' },
lua = { pattern = '^:%s*lua%s+', icon = '', lang = 'lua' },
help = { pattern = '^:%s*he?l?p?%s+', icon = '󰱼' },
input = {}, -- Used by input()
Expand Down
4 changes: 2 additions & 2 deletions lua/one/plugins/nvim-tree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ local M = {

glyphs = {
git = {
unstaged = '',
staged = '',
unstaged = '󰄱',
staged = '󰃨',
unmerged = '',
renamed = '',
untracked = '',
Expand Down
2 changes: 1 addition & 1 deletion lua/one/plugins/tabby.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ local function renderTab(tab)
}

if config.tabby.showTabClose then
table.insert(list, 3, tab.close_btn(''))
table.insert(list, 3, tab.close_btn('󰅖'))
table.insert(list, 3, ' ')
end
else
Expand Down
4 changes: 2 additions & 2 deletions lua/one/plugins/telescope/extensions.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
return {
['ts-parsers'] = {
desc = 'List nvim-treesitter parsers. means installed. is not. Press to install/update them.',
desc = 'List nvim-treesitter parsers. 󰄲 means installed. 󰄱 is not. Press to install/update them.',

command = function()
local parsers = require('nvim-treesitter.parsers').available_parsers()
Expand All @@ -11,7 +11,7 @@ return {
local installed = #api.nvim_get_runtime_file('parser/' .. lang .. '.so', false) > 0

list[i] = {
text = string.format('%s %s', installed and '' or '', lang),
text = string.format('%s %s', installed and '󰄲' or '󰄱', lang),
entry = { ordinal = lang },
lang = lang,
installed,
Expand Down
4 changes: 2 additions & 2 deletions lua/one/plugins/telescope/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,10 @@ M.defaultConfig = function(config)

buffers = {},

live_grep = { prompt_prefix = ' ' },
live_grep = { prompt_prefix = ' 󰈞 ' },

current_buffer_fuzzy_find = {
prompt_prefix = ' ',
prompt_prefix = ' 󰈞 ',
layout_config = {
preview_height = { 0.2, min = 4, max = 6 },
height = { 0.9, min = 10, max = 40 },
Expand Down
6 changes: 3 additions & 3 deletions lua/one/plugins/todo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ M.defaultConfig = {
TODO = { icon = '', color = 'info', alt = { 'Todo' } },
HACK = { icon = '', color = 'warning', alt = { 'Hack' } },
WARN = { icon = '', color = 'warning', alt = { 'Warn', 'WARNING', 'XXX' } },
PERF = { icon = '', alt = { 'Perf', 'OPTIM', 'PERFORMANCE', 'OPTIMIZE' } },
NOTE = { icon = '', color = 'hint', alt = { 'Note', 'INFO', 'Info' } },
TEST = { icon = '', color = 'test', alt = { 'Test', 'TESTING', 'PASSED', 'FAILED' } },
PERF = { icon = '󰅒', alt = { 'Perf', 'OPTIM', 'PERFORMANCE', 'OPTIMIZE' } },
NOTE = { icon = '󰍨', color = 'hint', alt = { 'Note', 'INFO', 'Info' } },
TEST = { icon = '󰙨', color = 'test', alt = { 'Test', 'TESTING', 'PASSED', 'FAILED' } },
},

gui_style = {
Expand Down

0 comments on commit 89452cf

Please sign in to comment.