Skip to content

Commit

Permalink
fix workspace/didChangeWorkspaceFolders
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn committed May 31, 2022
1 parent 78b0d94 commit 1e53147
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion langserver/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type Config struct {
Commands *[]Command `yaml:"commands" json:"commands"`
Languages *map[string][]Language `yaml:"languages" json:"languages"`
RootMarkers *[]string `yaml:"root-markers" json:"rootMarkers"`
TriggerChars []string `yaml:"trigger-chars" json:"triggerChars"`
TriggerChars []string `yaml:"trigger-chars" json:"triggerChars"`
LintDebounce Duration `yaml:"lint-debounce" json:"lintDebounce"`
FormatDebounce Duration `yaml:"format-debounce" json:"formatDebounce"`

Expand Down Expand Up @@ -656,6 +656,8 @@ func (h *langHandler) handle(ctx context.Context, conn *jsonrpc2.Conn, req *json
return h.handleWorkspaceExecuteCommand(ctx, conn, req)
case "workspace/didChangeConfiguration":
return h.handleWorkspaceDidChangeConfiguration(ctx, conn, req)
case "workspace/didChangeWorkspaceFolders":
return h.handleDidChangeWorkspaceWorkspaceFolders(ctx, conn, req)
case "workspace/workspaceFolders":
return h.handleWorkspaceWorkspaceFolders(ctx, conn, req)
}
Expand Down

0 comments on commit 1e53147

Please sign in to comment.