Skip to content

Commit

Permalink
fix(icons): match new Nerd Fonts 3.0.0 release
Browse files Browse the repository at this point in the history
See the following links for more information:
- ryanoasis/nerd-fonts#365
- ryanoasis/nerd-fonts#1059 (comment)
  • Loading branch information
XenoPhex authored and ibhagwan committed May 16, 2023
1 parent 291082c commit 55e5a35
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 29 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -985,31 +985,31 @@ require'fzf-lua'.setup {
-- see https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#symbolKind
-- see https://github.com/neovim/neovim/blob/829d92eca3d72a701adc6e6aa17ccd9fe2082479/runtime/lua/vim/lsp/protocol.lua#L117
symbol_icons = {
File = "",
File = "󰈙",
Module = "",
Namespace = "󰦮",
Package = "",
Class = "",
Method = "",
Class = "󰆧",
Method = "󰊕",
Property = "",
Field = "",
Constructor = "",
Enum = "",
Interface = "",
Function = "",
Variable = "",
Constant = "",
Function = "󰊕",
Variable = "󰀫",
Constant = "󰏿",
String = "",
Number = "󰎠",
Boolean = "󰨙",
Array = "󱡠",
Object = "",
Key = "",
Key = "󰌋",
Null = "󰟢",
EnumMember = "",
Struct = "",
Struct = "󰆼",
Event = "",
Operator = "",
Operator = "󰆕",
TypeParameter = "󰗴",
},
-- colorize using Treesitter '@' highlight groups ("@function", etc).
Expand Down Expand Up @@ -1069,7 +1069,7 @@ require'fzf-lua'.setup {
-- ["Error"] = { text = "", texthl = "DiagnosticError" },
-- ["Warn"] = { text = "", texthl = "DiagnosticWarn" },
-- ["Info"] = { text = "", texthl = "DiagnosticInfo" },
-- ["Hint"] = { text = "", texthl = "DiagnosticHint" },
-- ["Hint"] = { text = "󰌵", texthl = "DiagnosticHint" },
-- },
-- limit to specific severity, use either a string or num:
-- 1 or "hint"
Expand Down
20 changes: 10 additions & 10 deletions doc/fzf-lua.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1080,31 +1080,31 @@ open an issue and I'll be more than happy to help.**
-- see https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#symbolKind
-- see https://github.com/neovim/neovim/blob/829d92eca3d72a701adc6e6aa17ccd9fe2082479/runtime/lua/vim/lsp/protocol.lua#L117
symbol_icons = {
File = "",
File = "󰈙",
Module = "",
Namespace = "󰦮",
Package = "",
Class = "",
Method = "",
Class = "󰆧",
Method = "󰊕",
Property = "",
Field = "",
Constructor = "",
Enum = "",
Interface = "",
Function = "",
Variable = "",
Constant = "",
Function = "󰊕",
Variable = "󰀫",
Constant = "󰏿",
String = "",
Number = "󰎠",
Boolean = "󰨙",
Array = "󱡠",
Object = "",
Key = "",
Key = "󰌋",
Null = "󰟢",
EnumMember = "",
Struct = "",
Struct = "󰆼",
Event = "",
Operator = "",
Operator = "󰆕",
TypeParameter = "󰗴",
},
-- colorize using Treesitter '@' highlight groups ("@function", etc).
Expand Down Expand Up @@ -1164,7 +1164,7 @@ open an issue and I'll be more than happy to help.**
-- ["Error"] = { text = "", texthl = "DiagnosticError" },
-- ["Warn"] = { text = "", texthl = "DiagnosticWarn" },
-- ["Info"] = { text = "", texthl = "DiagnosticInfo" },
-- ["Hint"] = { text = "", texthl = "DiagnosticHint" },
-- ["Hint"] = { text = "󰌵", texthl = "DiagnosticHint" },
-- },
-- limit to specific severity, use either a string or num:
-- 1 or "hint"
Expand Down
18 changes: 9 additions & 9 deletions lua/fzf-lua/defaults.lua
Original file line number Diff line number Diff line change
Expand Up @@ -565,31 +565,31 @@ M.defaults.lsp.symbols = {
git_icons = false,
symbol_style = 1,
symbol_icons = {
File = "",
File = "󰈙",
Module = "",
Namespace = "󰦮",
Package = "",
Class = "",
Method = "",
Class = "󰆧",
Method = "󰊕",
Property = "",
Field = "",
Constructor = "",
Enum = "",
Interface = "",
Function = "",
Variable = "",
Constant = "",
Function = "󰊕",
Variable = "󰀫",
Constant = "󰏿",
String = "",
Number = "󰎠",
Boolean = "󰨙",
Array = "󱡠",
Object = "",
Key = "",
Key = "󰌋",
Null = "󰟢",
EnumMember = "",
Struct = "",
Struct = "󰆼",
Event = "",
Operator = "",
Operator = "󰆕",
TypeParameter = "󰗴",
},
symbol_hl = function(s) return "@" .. s:lower() end,
Expand Down

0 comments on commit 55e5a35

Please sign in to comment.