diff options
Diffstat (limited to 'start/lspconfig-0.1.3/lua/lspconfig/server_configurations/solidity_ls.lua')
-rw-r--r-- | start/lspconfig-0.1.3/lua/lspconfig/server_configurations/solidity_ls.lua | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/start/lspconfig-0.1.3/lua/lspconfig/server_configurations/solidity_ls.lua b/start/lspconfig-0.1.3/lua/lspconfig/server_configurations/solidity_ls.lua deleted file mode 100644 index 4d4c490..0000000 --- a/start/lspconfig-0.1.3/lua/lspconfig/server_configurations/solidity_ls.lua +++ /dev/null @@ -1,24 +0,0 @@ -local util = require 'lspconfig.util' - -local bin_name = 'solidity-language-server' -if vim.fn.has 'win32' == 1 then - bin_name = bin_name .. '.cmd' -end - -return { - default_config = { - cmd = { bin_name, '--stdio' }, - filetypes = { 'solidity' }, - root_dir = util.root_pattern('.git', 'package.json'), - }, - docs = { - description = [[ -npm install -g solidity-language-server - -solidity-language-server is a language server for the solidity language ported from the vscode solidity extension -]], - default_config = { - root_dir = [[root_pattern(".git", "package.json")]], - }, - }, -} |