fix: Capitalize lsp icon keys for better compat
This commit is contained in:
parent
432f7e0595
commit
c7a950fc08
2 changed files with 45 additions and 45 deletions
|
@ -41,41 +41,41 @@ return {
|
|||
lazygit = '',
|
||||
left = '',
|
||||
lsp = {
|
||||
array = '',
|
||||
boolean = '',
|
||||
class = '',
|
||||
color = '',
|
||||
control = '',
|
||||
constant = '',
|
||||
constructor = '',
|
||||
enum = '',
|
||||
enummember = '',
|
||||
event = '',
|
||||
field = '',
|
||||
file = '',
|
||||
folder = '',
|
||||
['function'] = '',
|
||||
interface = '',
|
||||
key = '',
|
||||
keyword = '',
|
||||
method = '',
|
||||
module = '',
|
||||
namespace = '',
|
||||
null = '',
|
||||
number = '',
|
||||
object = '',
|
||||
operator = '',
|
||||
package = '',
|
||||
property = '',
|
||||
reference = '',
|
||||
snippet = '',
|
||||
string = '',
|
||||
struct = '',
|
||||
text = '',
|
||||
typeparameter = '',
|
||||
unit = '',
|
||||
value = '',
|
||||
variable = '',
|
||||
Array = '',
|
||||
Boolean = '◩',
|
||||
Class = '',
|
||||
Color = '',
|
||||
Control = '',
|
||||
Constant = '',
|
||||
Constructor = '',
|
||||
Enum = '',
|
||||
EnumMember = '',
|
||||
Event = '',
|
||||
Field = '',
|
||||
File = '',
|
||||
Folder = '',
|
||||
Function = '',
|
||||
Interface = '',
|
||||
Key = '',
|
||||
Keyword = '',
|
||||
Method = '',
|
||||
Module = '',
|
||||
Namespace = '',
|
||||
Null = '',
|
||||
Number = '',
|
||||
Object = '',
|
||||
Operator = '',
|
||||
Package = '',
|
||||
Property = '',
|
||||
Reference = '',
|
||||
Snippet = '',
|
||||
String = '',
|
||||
Struct = '',
|
||||
Text = '',
|
||||
TypeParameter = '',
|
||||
Unit = '',
|
||||
Value = '',
|
||||
Variable = '',
|
||||
},
|
||||
next = '',
|
||||
notifications = '',
|
||||
|
|
|
@ -93,18 +93,18 @@ return {
|
|||
{ '>', '', '<> with ws' },
|
||||
{ '_', '', 'underscores' },
|
||||
{ '?', '', 'user prompt' },
|
||||
{ 'a', i.lsp.variable, 'argument' },
|
||||
{ 'a', i.lsp.Variable, 'argument' },
|
||||
{ 'b', '', ')]} block' },
|
||||
{ 'c', i.lsp.class, 'class' },
|
||||
{ 'd', i.lsp.number, 'numbers' },
|
||||
{ 'e', i.lsp.variable, 'word within case' },
|
||||
{ 'f', i.lsp['function'], 'function' },
|
||||
{ 'g', i.lsp.file, 'entire buffer' },
|
||||
{ 'o', i.lsp.control, 'block, conditional, loop' },
|
||||
{ 'q', i.lsp.string, 'quotes/backticks' },
|
||||
{ 'c', i.lsp.Class, 'class' },
|
||||
{ 'd', i.lsp.Number, 'numbers' },
|
||||
{ 'e', i.lsp.Variable, 'word within case' },
|
||||
{ 'f', i.lsp.Function, 'function' },
|
||||
{ 'g', i.lsp.File, 'entire buffer' },
|
||||
{ 'o', i.lsp.Control, 'block, conditional, loop' },
|
||||
{ 'q', i.lsp.String, 'quotes/backticks' },
|
||||
{ 't', '', 'tags' },
|
||||
{ 'u', i.lsp.method, 'use/call' },
|
||||
{ 'U', i.lsp.method, 'use/call without dot' },
|
||||
{ 'u', i.lsp.Method, 'use/call' },
|
||||
{ 'U', i.lsp.Method, 'use/call without dot' },
|
||||
}
|
||||
|
||||
local spec = { mode = { 'o', 'x' } }
|
||||
|
|
Loading…
Reference in a new issue