mirror of
https://github.com/stevearc/aerial.nvim
synced 2024-09-16 14:34:08 +02:00
fix: update deprecated nerd font icons
This commit is contained in:
parent
a6b86fd357
commit
8a59ed2dc9
3 changed files with 14 additions and 14 deletions
|
@ -350,30 +350,30 @@ local plain_icons = {
|
|||
local nerd_icons = {
|
||||
Array = " ",
|
||||
Boolean = " ",
|
||||
Class = " ",
|
||||
Constant = " ",
|
||||
Class = " ",
|
||||
Constant = " ",
|
||||
Constructor = " ",
|
||||
Enum = " ",
|
||||
EnumMember = " ",
|
||||
Event = " ",
|
||||
Field = " ",
|
||||
File = " ",
|
||||
Function = " ",
|
||||
File = " ",
|
||||
Function = " ",
|
||||
Interface = " ",
|
||||
Key = " ",
|
||||
Method = " ",
|
||||
Key = " ",
|
||||
Method = " ",
|
||||
Module = " ",
|
||||
Namespace = " ",
|
||||
Null = " ",
|
||||
Number = " ",
|
||||
Object = " ",
|
||||
Operator = " ",
|
||||
Operator = " ",
|
||||
Package = " ",
|
||||
Property = " ",
|
||||
String = " ",
|
||||
Struct = " ",
|
||||
Struct = " ",
|
||||
TypeParameter = " ",
|
||||
Variable = " ",
|
||||
Variable = " ",
|
||||
Collapsed = " ",
|
||||
}
|
||||
|
||||
|
|
|
@ -34,13 +34,13 @@
|
|||
-- ## Examples
|
||||
--
|
||||
-- { "aerial" }
|
||||
-- ﴯ MyClassName ⟩ my_method_name
|
||||
-- MyClassName ⟩ my_method_name
|
||||
--
|
||||
-- { "aerial", dense = true }
|
||||
-- MyClassName.my_method_name
|
||||
-- MyClassName.my_method_name
|
||||
--
|
||||
-- { "aerial", depth = -1 }
|
||||
-- my_method_name
|
||||
-- my_method_name
|
||||
|
||||
local M = require("lualine.component"):extend()
|
||||
local utils = require("lualine.utils.utils")
|
||||
|
|
|
@ -87,7 +87,7 @@ describe("config", function()
|
|||
-- Icons
|
||||
it("reads icons from the default table", function()
|
||||
config.setup({ nerd_font = true, use_lspkind = false })
|
||||
assert.equals(" ", config.get_icon(0, "Function", false))
|
||||
assert.equals(" ", config.get_icon(0, "Function", false))
|
||||
end)
|
||||
it("reads icons from setup var", function()
|
||||
config.setup({
|
||||
|
@ -98,7 +98,7 @@ describe("config", function()
|
|||
use_lspkind = false,
|
||||
})
|
||||
assert.equals("*", config.get_icon(0, "Function", false))
|
||||
assert.equals(" ", config.get_icon(0, "Method", false))
|
||||
assert.equals(" ", config.get_icon(0, "Method", false))
|
||||
end)
|
||||
it("fetches the collapsed version of icon", function()
|
||||
config.setup({
|
||||
|
|
Loading…
Reference in a new issue