mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 12:50:03 +08:00
22 lines
615 B
Lua
22 lines
615 B
Lua
local util = require 'lspconfig.util'
|
|
|
|
return {
|
|
default_config = {
|
|
cmd = { 'nomicfoundation-solidity-language-server', '--stdio' },
|
|
filetypes = { 'solidity' },
|
|
root_dir = util.root_pattern('.git', 'package.json'),
|
|
},
|
|
docs = {
|
|
description = [[
|
|
https://github.com/NomicFoundation/hardhat-vscode/blob/development/server/README.md
|
|
|
|
npm install -g @ignored/solidity-language-server
|
|
|
|
A language server for the Solidity programming language, built by the Nomic Foundation for the Ethereum community.
|
|
]],
|
|
default_config = {
|
|
root_dir = [[root_pattern(".git", "package.json")]],
|
|
},
|
|
},
|
|
}
|