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