Minimal changes
This commit is contained in:
@@ -20,8 +20,6 @@ import (
|
||||
"cuelang.org/go/cue"
|
||||
)
|
||||
|
||||
|
||||
|
||||
type CompletionParams struct {
|
||||
TextDocument TextDocumentIdentifier `json:"textDocument"`
|
||||
Position Position `json:"position"`
|
||||
@@ -171,7 +169,6 @@ type TextEdit struct {
|
||||
NewText string `json:"newText"`
|
||||
}
|
||||
|
||||
|
||||
func RunServer() {
|
||||
reader := bufio.NewReader(os.Stdin)
|
||||
for {
|
||||
@@ -986,9 +983,7 @@ func formatNodeInfo(node *index.ProjectNode) string {
|
||||
if typ != "" {
|
||||
sigInfo += fmt.Sprintf("**Type**: `%s` ", typ)
|
||||
}
|
||||
if ds != "" {
|
||||
sigInfo += fmt.Sprintf("**DataSource**: `%s` ", ds)
|
||||
}
|
||||
|
||||
// Size
|
||||
dims := node.Metadata["NumberOfDimensions"]
|
||||
|
||||
@@ -13,7 +13,7 @@ package schema
|
||||
StateMachineEvent: {
|
||||
NextState!: string
|
||||
NextStateError!: string
|
||||
Timeout: uint32
|
||||
Timeout?: uint32
|
||||
[_= !~"^(Class|NextState|Timeout|NextStateError|[#_$].+)$"]: Message
|
||||
...
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user