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

unicode to string #25

Open
I-Want-ToBelieve opened this issue Sep 28, 2022 · 0 comments
Open

unicode to string #25

I-Want-ToBelieve opened this issue Sep 28, 2022 · 0 comments

Comments

@I-Want-ToBelieve
Copy link

I-Want-ToBelieve commented Sep 28, 2022

@see microsoft/TypeScript#36174
input

local M = {}

M.lspkind = {
  Namespace = "",
  Text = "",
  Method = "",
  Function = "",
  Constructor = "",
  Field = "",
  Variable = "",
  Class = "",
  Interface = "",
  Module = "",
  Property = "",
  Unit = "",
  Value = "",
  Enum = "",
  Keyword = "",
  Snippet = "",
  Color = "",
  File = "",
  Reference = "",
  Folder = "",
  EnumMember = "",
  Constant = "",
  Struct = "",
  Event = "",
  Operator = "",
  TypeParameter = "",
  Table = "",
  Object = "",
  Tag = "",
  Array = "[]",
  Boolean = "",
  Number = "",
  Null = "",
  String = "",
  Calendar = "",
  Watch = "",
  Package = "",
}

output

export const lspkind = {
  Namespace: '\uF816',
  Text: '\uF77E ',
  Method: '\uF6A6 ',
  Function: '\uF6A6 ',
  Constructor: '\uF423 ',
  Field: '\uFC20 ',
  Variable: '\uF52A ',
  Class: '\uFD2F ',
  Interface: '\uF0E8 ',
  Module: '\uF487 ',
  Property: '\uFC20 ',
  Unit: '\uF96C ',
  Value: '\uF89F ',
  Enum: '\uF15D ',
  Keyword: '\uF80A ',
  Snippet: '\uF44F ',
  Color: '\uF8D7 ',
  File: '\uF718 ',
  Reference: '\uF706 ',
  Folder: '\uF74A ',
  EnumMember: '\uF15D ',
  Constant: '\uF8FE ',
  Struct: '\uFB44 ',
  Event: '\uF0E7 ',
  Operator: '\uF694 ',
  TypeParameter: '\uF783 ',
  Table: '\uF0CE',
  Object: '\uF668 ',
  Tag: '\uF02B',
  Array: '[]',
  Boolean: '\uF042 ',
  Number: '\uF292 ',
  Null: '\uFCE0',
  String: '\uF77E ',
  Calendar: '\uF073',
  Watch: '\uF64F ',
  Package: '\uE624',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant