mirror of
https://github.com/laravel-ls/protocol.git
synced 2026-06-16 03:54:56 +02:00
Initial commit
This commit is contained in:
commit
9061064e97
21 changed files with 1699 additions and 0 deletions
14
server.go
Normal file
14
server.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package protocol
|
||||
|
||||
// ServerInfo - The server info returned from an initialize request.
|
||||
//
|
||||
// See https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#initializeResult
|
||||
//
|
||||
// @since 3.15.0
|
||||
type ServerInfo struct {
|
||||
// The name of the server as defined by the server.
|
||||
Name string `json:"name"`
|
||||
|
||||
// The server's version, if provided.
|
||||
Version string `json:"version,omitempty"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue