From cfdd687216799cb5b47f099f1e7cd5dd16b3bdd0 Mon Sep 17 00:00:00 2001 From: Kujtim Hoxha Date: Thu, 3 Apr 2025 15:20:15 +0200 Subject: add initial lsp support --- internal/lsp/protocol/tables.go | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 internal/lsp/protocol/tables.go (limited to 'internal/lsp/protocol/tables.go') diff --git a/internal/lsp/protocol/tables.go b/internal/lsp/protocol/tables.go new file mode 100644 index 000000000..6a8fb99e0 --- /dev/null +++ b/internal/lsp/protocol/tables.go @@ -0,0 +1,30 @@ +package protocol + +var TableKindMap = map[SymbolKind]string{ + File: "File", + Module: "Module", + Namespace: "Namespace", + Package: "Package", + Class: "Class", + Method: "Method", + Property: "Property", + Field: "Field", + Constructor: "Constructor", + Enum: "Enum", + Interface: "Interface", + Function: "Function", + Variable: "Variable", + Constant: "Constant", + String: "String", + Number: "Number", + Boolean: "Boolean", + Array: "Array", + Object: "Object", + Key: "Key", + Null: "Null", + EnumMember: "EnumMember", + Struct: "Struct", + Event: "Event", + Operator: "Operator", + TypeParameter: "TypeParameter", +} -- cgit v1.2.3