mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 17:54:23 +01:00
add initial lsp support
This commit is contained in:
30
internal/lsp/protocol/tables.go
Normal file
30
internal/lsp/protocol/tables.go
Normal file
@@ -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",
|
||||
}
|
||||
Reference in New Issue
Block a user