From ea72eaae8809c0e475a8248aa665034d7d4520db Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 6 Sep 2021 01:08:32 +0000 Subject: [docgen] Update CONFIG.md skip-checks: true --- CONFIG.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/CONFIG.md b/CONFIG.md index f0efb29b..5f6162bb 100644 --- a/CONFIG.md +++ b/CONFIG.md @@ -73,6 +73,7 @@ that config. - [rust_analyzer](#rust_analyzer) - [scry](#scry) - [serve_d](#serve_d) +- [solang](#solang) - [solargraph](#solargraph) - [sorbet](#sorbet) - [sourcekit](#sourcekit) @@ -5796,6 +5797,38 @@ require'lspconfig'.serve_d.setup{} ``` +## solang + +A language server for Solidity + +See the [documentation](https://solang.readthedocs.io/en/latest/installing.html) for installation instructions. + +The language server only provides the following capabilities: +* Syntax highlighting +* Diagnostics +* Hover + +There is currently no support for completion, goto definition, references, or other functionality. + + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.solang.setup{} +``` + +**Commands and default values:** +```lua + Commands: + + Default Values: + cmd = { "solang", "--language-server" } + filetypes = { "solidity" } + root_dir = root_pattern(".git") +``` + + ## solargraph https://solargraph.org/ -- cgit v1.3.1