We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e05a86 commit f88db97Copy full SHA for f88db97
lsp/service.go
@@ -27,17 +27,6 @@ type InitializeParams struct {
27
28
type InitializedParams struct{}
29
30
-// Root returns the RootURI if set, or otherwise the RootPath with 'file://' prepended.
31
-func (p *InitializeParams) Root() DocumentURI {
32
- if p.RootURI != "" {
33
- return p.RootURI
34
- }
35
- if strings.HasPrefix(p.RootPath, "file://") {
36
- return DocumentURI(p.RootPath)
37
38
- return DocumentURI("file://" + p.RootPath)
39
-}
40
-
41
type DocumentURI string
42
43
type ClientInfo struct {
0 commit comments