coc.nvim extension for solidity. Language server provided by solidity-ls.
This language server has no error tolerance. Means that some features will only work if sources are no syntax error.
For example:
// should not work
msg.
^
// should work
msg.;
^
:CocInstall coc-solidity
Make sure you have installed solc.
run forge remappings > remappings.txt
in project root.