fix: Capitalize lsp icon keys for better compat

This commit is contained in:
punkfairie 2025-01-03 16:17:34 -08:00
parent 432f7e0595
commit c7a950fc08
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696
2 changed files with 45 additions and 45 deletions

View file

@ -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 = '󰈸',

View file

@ -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' } }