Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: replace deprecated(broken) nerd font icon #58

Merged
merged 1 commit into from
May 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,32 +138,32 @@ navbuddy.setup {
},
},
icons = {
File = " ",
File = "󰈙 ",
Module = " ",
Namespace = " ",
Namespace = "󰌗 ",
Package = " ",
Class = " ",
Method = " ",
Class = "󰌗 ",
Method = "󰆧 ",
Property = " ",
Field = " ",
Constructor = " ",
Enum = "",
Interface = "",
Function = " ",
Variable = " ",
Constant = " ",
Enum = "󰕘",
Interface = "󰕘",
Function = "󰊕 ",
Variable = "󰆧 ",
Constant = "󰏿 ",
String = " ",
Number = " ",
Number = "󰎠 ",
Boolean = "◩ ",
Array = " ",
Object = " ",
Key = " ",
Null = " ",
Array = "󰅪 ",
Object = "󰅩 ",
Key = "󰌋 ",
Null = "󰟢 ",
EnumMember = " ",
Struct = " ",
Struct = "󰌗 ",
Event = " ",
Operator = " ",
TypeParameter = " ",
Operator = "󰆕 ",
TypeParameter = "󰊄 ",
},
use_default_mappings = true, -- If set to false, only mappings set
-- by user are set. Else default
Expand Down
36 changes: 18 additions & 18 deletions doc/navbuddy.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,33 +142,33 @@ Defaults >lua
},
},
icons = {
[1] = " ", -- File
[1] = "󰈙 ", -- File
[2] = " ", -- Module
[3] = " ", -- Namespace
[3] = "󰌗 ", -- Namespace
[4] = " ", -- Package
[5] = " ", -- Class
[6] = " ", -- Method
[5] = "󰌗 ", -- Class
[6] = "󰆧 ", -- Method
[7] = " ", -- Property
[8] = " ", -- Field
[9] = " ", -- Constructor
[10] = "", -- Enum
[11] = "", -- Interface
[12] = " ", -- Function
[13] = " ", -- Variable
[14] = " ", -- Constant
[10] = "󰕘", -- Enum
[11] = "󰕘", -- Interface
[12] = "󰊕 ", -- Function
[13] = "󰆧 ", -- Variable
[14] = "󰏿 ", -- Constant
[15] = " ", -- String
[16] = " ", -- Number
[16] = "󰎠 ", -- Number
[17] = "◩ ", -- Boolean
[18] = " ", -- Array
[19] = " ", -- Object
[20] = " ", -- Key
[21] = " ", -- Null
[18] = "󰅪 ", -- Array
[19] = "󰅩 ", -- Object
[20] = "󰌋 ", -- Key
[21] = "󰟢 ", -- Null
[22] = " ", -- EnumMember
[23] = " ", -- Struct
[23] = "󰌗 ", -- Struct
[24] = " ", -- Event
[25] = " ", -- Operator
[26] = " ", -- TypeParameter
[255] = " ", -- Macro
[25] = "󰆕 ", -- Operator
[26] = "󰊄 ", -- TypeParameter
[255] = "󰉨 ", -- Macro
},
use_default_mappings = true, -- If set to false, only mappings set
-- by user are set. Else default
Expand Down
36 changes: 18 additions & 18 deletions lua/nvim-navbuddy/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,33 +32,33 @@ local config = {
},
},
icons = {
[1] = " ", -- File
[1] = "󰈙 ", -- File
[2] = " ", -- Module
[3] = " ", -- Namespace
[3] = "󰌗 ", -- Namespace
[4] = " ", -- Package
[5] = " ", -- Class
[6] = " ", -- Method
[5] = "󰌗 ", -- Class
[6] = "󰆧 ", -- Method
[7] = " ", -- Property
[8] = " ", -- Field
[9] = " ", -- Constructor
[10] = "", -- Enum
[11] = "", -- Interface
[12] = " ", -- Function
[13] = " ", -- Variable
[14] = " ", -- Constant
[10] = "󰕘", -- Enum
[11] = "󰕘", -- Interface
[12] = "󰊕 ", -- Function
[13] = "󰆧 ", -- Variable
[14] = "󰏿 ", -- Constant
[15] = " ", -- String
[16] = " ", -- Number
[16] = "󰎠 ", -- Number
[17] = "◩ ", -- Boolean
[18] = " ", -- Array
[19] = " ", -- Object
[20] = " ", -- Key
[21] = " ", -- Null
[18] = "󰅪 ", -- Array
[19] = "󰅩 ", -- Object
[20] = "󰌋 ", -- Key
[21] = "󰟢 ", -- Null
[22] = " ", -- EnumMember
[23] = " ", -- Struct
[23] = "󰌗 ", -- Struct
[24] = " ", -- Event
[25] = " ", -- Operator
[26] = " ", -- TypeParameter
[255] = " ", -- Macro
[25] = "󰆕 ", -- Operator
[26] = "󰊄 ", -- TypeParameter
[255] = "󰉨 ", -- Macro
},
use_default_mappings = true,
mappings = {
Expand Down