1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 22:00:07 +08:00
SpaceVim/bundle/nvim-lspconfig-latest/lua/lspconfig/server_configurations/solidity_ls_nomicfoundation.lua

22 lines
615 B
Lua
Raw Normal View History

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")]],
},
},
}