| 1 | package lspext |
| 2 | |
| 3 | import "github.com/sourcegraph/go-lsp" |
| 4 | |
| 5 | // See https://github.com/sourcegraph/language-server-protocol/pull/4. |
| 6 | |
| 7 | // ContentParams is the input for 'textDocument/content'. The response is a |
| 8 | // 'TextDocumentItem'. |
| 9 | type ContentParams struct { |
| 10 | TextDocument lsp.TextDocumentIdentifier `json:"textDocument"` |
| 11 | } |
| 12 | |
| 13 | // FilesParams is the input for 'workspace/xfiles'. The response is '[]TextDocumentIdentifier' |
| 14 | type FilesParams struct { |
| 15 | Base string `json:"base,omitempty"` |
| 16 | } |