Created
April 15, 2023 09:30
-
-
Save cserb/1c4f7d587d8edf8c78264429d2132d29 to your computer and use it in GitHub Desktop.
NomicFoundation Solidity Language Server – LSP-Zero Setup for NeoVim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('lspconfig.configs').solidity = { | |
default_config = { | |
cmd = {'nomicfoundation-solidity-language-server', '--stdio'}, | |
filetypes = { 'solidity' }, | |
name = 'solidity', | |
root_dir = require('lspconfig.util').find_git_ancestor, | |
single_file_support = true, | |
} | |
} | |
require('lspconfig').solidity.setup({}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment