-
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docs, cli): lsp docs and error in cli
- Loading branch information
Showing
7 changed files
with
51 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Language Server | ||
|
||
The TOML language server can be used via the CLI and it supports communication via standard i/o or TCP. | ||
|
||
::: tip | ||
|
||
The language server is not part of the default builds, and is not available if Taplo was installed via NPM. | ||
|
||
Consult the build or installation documentation on how to enable the functionality. | ||
|
||
::: | ||
|
||
## Via Standard i/o | ||
|
||
``` | ||
taplo lsp stdio | ||
``` | ||
|
||
In this mode Taplo expects messages from the standard input, and will print messages intended for the client to the standard output. | ||
|
||
## Via TCP | ||
|
||
``` | ||
taplo lsp tcp --address 0.0.0.0:9181 | ||
``` | ||
|
||
The server will listen on the given TCP address. | ||
|
||
Multiple clients are not supported. |