We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to use solc LSP in lazyvim simply installed solc lsp, and it throws error with every character I type
LSP[solc]: Error INVALID_SERVER_MESSAGE: { error = { code = -32803, message = "Unknown file: file:///Users/ops/work/*****/foundry/playground/src/Counter.sol" }, jsonrpc = "2.0"
NVIM v0.8.0 Build type: Release LuaJIT 2.1.0-beta3
91998ce
MacOS 12.6
solc
No response
:LspInstall solc
The text was updated successfully, but these errors were encountered:
looks like the server not handle the schema + filename.
Sorry, something went wrong.
@glepnir is there anything I can do to config this?
I also confirm this bug with trying to get solc --lsp working in the nvim environment.
solc --lsp
nvim
You can use the hardhat solidity extension which is to date probably the best one: NomicFoundation/hardhat-vscode#362
No branches or pull requests
Description
Trying to use solc LSP in lazyvim
simply installed solc lsp, and it throws error with every character I type
Neovim version
NVIM v0.8.0
Build type: Release
LuaJIT 2.1.0-beta3
Nvim-lspconfig version
91998ce
Operating system and version
MacOS 12.6
Affected language servers
solc
Steps to reproduce
Actual behavior
LSP[solc]: Error INVALID_SERVER_MESSAGE: {
error = {
code = -32803,
message = "Unknown file: file:///Users/ops/work/*****/foundry/playground/src/Counter.sol"
},
jsonrpc = "2.0"
Expected behavior
No response
Minimal config
LSP log
The text was updated successfully, but these errors were encountered: