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(icons): match new Nerd Fonts 3.0.0 release #741

Merged
merged 1 commit into from
May 16, 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
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