-
-
Notifications
You must be signed in to change notification settings - Fork 959
New issue
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
unable to use :Format
with vscode's solidity language server
#4869
Comments
Add |
sorry for the late reply, there is no
|
Trigger |
The language server didn't provide |
True, |
Result from CocInfo
versions
vim version: VIM - Vi IMproved 9.0 9002121
node version: v18.17.1
coc.nvim version: 0.0.82-d1568d56 2023-09-29 19:43:34 +0800
coc.nvim directory: /home/sify/.vim/plugged/coc.nvim
term: dumb
platform: linux
Log of coc.nvim
2024-01-23T15:27:55.136 INFO (pid:267368) [plugin] - coc.nvim initialized with node: v18.17.1 after 102
Describe the bug
I registered a custom solidity language server (the one from VSCode https://github.com/juanfranblanco/vscode-solidity), but I can't
:Format
current buffer in vim. AFAIK this language server supports formatting.Reproduce the bug
mini.vim
with:vscode-solidity-server
since it's not published to npm yet, you have to install it locally.
Since I'm using
Foundry
, you can install it usingfoundryup
https://book.getfoundry.sh/getting-started/installationThe
settings
part is copied from its integration guide: https://book.getfoundry.sh/config/vscodeStart (neo)vim with command:
vim -u mini.vim
Open a solidity file like this one
Counter.sol
and run:Format
Screenshots (optional)
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: