Skip to content

Commit

Permalink
docs: update server_configurations.md
Browse files Browse the repository at this point in the history
skip-checks: true
  • Loading branch information
github-actions[bot] committed Feb 15, 2024
1 parent 946c58c commit 114bf18
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 8 deletions.
18 changes: 14 additions & 4 deletions doc/server_configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -9864,9 +9864,15 @@ require'lspconfig'.solidity.setup{}

## solidity_ls

npm install -g solidity-language-server
https://github.com/juanfranblanco/vscode-solidity

solidity-language-server is a language server for the solidity language ported from the vscode solidity extension
`vscode-solidity-server` can be installed via `npm`:

```sh
npm install -g vscode-solidity-server
```

`vscode-solidity-server` is a language server for the Solidity language ported from the VSCode "solidity" extension.



Expand All @@ -9879,15 +9885,19 @@ require'lspconfig'.solidity_ls.setup{}
**Default values:**
- `cmd` :
```lua
{ "solidity-language-server", "--stdio" }
{ "vscode-solidity-server", "--stdio" }
```
- `filetypes` :
```lua
{ "solidity" }
```
- `root_dir` :
```lua
root_pattern(".git", "package.json")
root_pattern("hardhat.config.js", "hardhat.config.ts", "foundry.toml", "remappings.txt", "truffle.js", "truffle-config.js", "ape-config.yaml", ".git", "package.json")
```
- `single_file_support` :
```lua
true
```


Expand Down
18 changes: 14 additions & 4 deletions doc/server_configurations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9864,9 +9864,15 @@ require'lspconfig'.solidity.setup{}

## solidity_ls

npm install -g solidity-language-server
https://github.com/juanfranblanco/vscode-solidity

solidity-language-server is a language server for the solidity language ported from the vscode solidity extension
`vscode-solidity-server` can be installed via `npm`:

```sh
npm install -g vscode-solidity-server
```

`vscode-solidity-server` is a language server for the Solidity language ported from the VSCode "solidity" extension.



Expand All @@ -9879,15 +9885,19 @@ require'lspconfig'.solidity_ls.setup{}
**Default values:**
- `cmd` :
```lua
{ "solidity-language-server", "--stdio" }
{ "vscode-solidity-server", "--stdio" }
```
- `filetypes` :
```lua
{ "solidity" }
```
- `root_dir` :
```lua
root_pattern(".git", "package.json")
root_pattern("hardhat.config.js", "hardhat.config.ts", "foundry.toml", "remappings.txt", "truffle.js", "truffle-config.js", "ape-config.yaml", ".git", "package.json")
```
- `single_file_support` :
```lua
true
```


Expand Down

0 comments on commit 114bf18

Please sign in to comment.