kind.lua 694 B

123456789101112131415161718192021222324252627282930313233
  1. local M = {}
  2. function M.setup()
  3. vim.lsp.protocol.CompletionItemKind = {
  4. -- symbols for autocomplete
  5. "  (Text) ",
  6. "  (Method)",
  7. "  (Function)",
  8. "  (Constructor)",
  9. " ﴲ (Field)",
  10. "[] (Variable)",
  11. "  (Class)",
  12. " ﰮ (Interface)",
  13. "  (Module)",
  14. " 襁 (Property)",
  15. "  (Unit)",
  16. "  (Value)",
  17. " 練 (Enum)",
  18. "  (Keyword)",
  19. "  (Snippet)",
  20. "  (Color)",
  21. "  (File)",
  22. "  (Reference)",
  23. "  (Folder)",
  24. "  (EnumMember)",
  25. " ﲀ (Constant)",
  26. " ﳤ (Struct)",
  27. "  (Event)",
  28. "  (Operator)",
  29. "  (TypeParameter)",
  30. }
  31. end
  32. return M