aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/solang.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/solang.lua')
-rw-r--r--lsp/solang.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/lsp/solang.lua b/lsp/solang.lua
new file mode 100644
index 00000000..6409f7c7
--- /dev/null
+++ b/lsp/solang.lua
@@ -0,0 +1,17 @@
+---@brief
+---
+---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.
+return {
+ cmd = { 'solang', 'language-server', '--target', 'evm' },
+ filetypes = { 'solidity' },
+ root_markers = { '.git' },
+}