Skip to content

Commit 3bd3117

Browse files
committed
fix(icons): to match new NerdFonts 3.0.0 release
See the following links for more information: - ryanoasis/nerd-fonts#365 - ryanoasis/nerd-fonts#1059 (comment)
1 parent 83dc174 commit 3bd3117

File tree

3 files changed

+57
-57
lines changed

3 files changed

+57
-57
lines changed

README.md

+20-20
Original file line numberDiff line numberDiff line change
@@ -87,32 +87,32 @@ Use the `setup` function to modify default parameters.
8787
```lua
8888
navic.setup {
8989
icons = {
90-
File = " ",
90+
File = "󰈙 ",
9191
Module = "",
92-
Namespace = " ",
92+
Namespace = "󰌗 ",
9393
Package = "",
94-
Class = " ",
95-
Method = " ",
94+
Class = "󰌗 ",
95+
Method = "󰆧 ",
9696
Property = "",
9797
Field = "",
9898
Constructor = "",
99-
Enum = "",
100-
Interface = "",
101-
Function = " ",
102-
Variable = " ",
103-
Constant = " ",
104-
String = " ",
105-
Number = " ",
99+
Enum = "󰕘",
100+
Interface = "󰕘",
101+
Function = "󰊕 ",
102+
Variable = "󰆧 ",
103+
Constant = "󰏿 ",
104+
String = "󰀬 ",
105+
Number = "󰎠 ",
106106
Boolean = "",
107-
Array = " ",
108-
Object = " ",
109-
Key = " ",
110-
Null = " ",
107+
Array = "󰅪 ",
108+
Object = "󰅩 ",
109+
Key = "󰌋 ",
110+
Null = "󰟢 ",
111111
EnumMember = "",
112-
Struct = " ",
112+
Struct = "󰌗 ",
113113
Event = "",
114-
Operator = " ",
115-
TypeParameter = " ",
114+
Operator = "󰆕 ",
115+
TypeParameter = "󰊄 ",
116116
},
117117
lsp = {
118118
auto_attach = false,
@@ -360,7 +360,7 @@ If you have a creative use case and want the raw context data to work with, you
360360
{
361361
name = "myclass",
362362
type = "Class",
363-
icon = " ",
363+
icon = "󰌗 ",
364364
kind = 5,
365365
scope = {
366366
start = { line = 1, character = 0 },
@@ -370,7 +370,7 @@ If you have a creative use case and want the raw context data to work with, you
370370
{
371371
name = "mymethod",
372372
type = "Method",
373-
icon = " ",
373+
icon = "󰆧 ",
374374
kind = 6,
375375
scope = {
376376
start = { line = 2, character = 4 },

doc/navic.txt

+18-18
Original file line numberDiff line numberDiff line change
@@ -242,32 +242,32 @@ Use |navic.setup| to override any of the default options
242242
Defaults >lua
243243
navic.setup {
244244
icons = {
245-
File = " ",
245+
File = "󰈙 ",
246246
Module = " ",
247-
Namespace = " ",
247+
Namespace = "󰌗 ",
248248
Package = " ",
249-
Class = " ",
250-
Method = " ",
249+
Class = "󰌗 ",
250+
Method = "󰆧 ",
251251
Property = " ",
252252
Field = " ",
253253
Constructor = " ",
254-
Enum = "",
255-
Interface = "",
256-
Function = " ",
257-
Variable = " ",
258-
Constant = " ",
259-
String = " ",
260-
Number = " ",
254+
Enum = "󰕘",
255+
Interface = "󰕘",
256+
Function = "󰊕 ",
257+
Variable = "󰆧 ",
258+
Constant = "󰏿 ",
259+
String = "󰀬 ",
260+
Number = "󰎠 ",
261261
Boolean = "◩ ",
262-
Array = " ",
263-
Object = " ",
264-
Key = " ",
265-
Null = " ",
262+
Array = "󰅪 ",
263+
Object = "󰅩 ",
264+
Key = "󰌋 ",
265+
Null = "󰟢 ",
266266
EnumMember = " ",
267-
Struct = " ",
267+
Struct = "󰌗 ",
268268
Event = " ",
269-
Operator = " ",
270-
TypeParameter = " ",
269+
Operator = "󰆕 ",
270+
TypeParameter = "󰊄 ",
271271
},
272272
lsp = {
273273
auto_attach = false,

lua/nvim-navic/init.lua

+19-19
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,33 @@ local M = {}
66

77
local config = {
88
icons = {
9-
[1] = " ", -- File
9+
[1] = "󰈙 ", -- File
1010
[2] = "", -- Module
11-
[3] = " ", -- Namespace
11+
[3] = "󰌗 ", -- Namespace
1212
[4] = "", -- Package
13-
[5] = " ", -- Class
14-
[6] = " ", -- Method
13+
[5] = "󰌗 ", -- Class
14+
[6] = "󰆧 ", -- Method
1515
[7] = "", -- Property
1616
[8] = "", -- Field
1717
[9] = "", -- Constructor
18-
[10] = "", -- Enum
19-
[11] = "", -- Interface
20-
[12] = " ", -- Function
21-
[13] = " ", -- Variable
22-
[14] = " ", -- Constant
23-
[15] = " ", -- String
24-
[16] = " ", -- Number
18+
[10] = "󰕘", -- Enum
19+
[11] = "󰕘", -- Interface
20+
[12] = "󰊕 ", -- Function
21+
[13] = "󰆧 ", -- Variable
22+
[14] = "󰏿 ", -- Constant
23+
[15] = "󰀬 ", -- String
24+
[16] = "󰎠 ", -- Number
2525
[17] = "", -- Boolean
26-
[18] = " ", -- Array
27-
[19] = " ", -- Object
28-
[20] = " ", -- Key
29-
[21] = " ", -- Null
26+
[18] = "󰅪 ", -- Array
27+
[19] = "󰅩 ", -- Object
28+
[20] = "󰌋 ", -- Key
29+
[21] = "󰟢 ", -- Null
3030
[22] = "", -- EnumMember
31-
[23] = " ", -- Struct
31+
[23] = "󰌗 ", -- Struct
3232
[24] = "", -- Event
33-
[25] = " ", -- Operator
34-
[26] = " ", -- TypeParameter
35-
[255] = " ", -- Macro
33+
[25] = "󰆕 ", -- Operator
34+
[26] = "󰊄 ", -- TypeParameter
35+
[255] = "󰉨 ", -- Macro
3636
},
3737
highlight = false,
3838
separator = " > ",

0 commit comments

Comments
 (0)