qiuxiang / coc-solidity

Solidity language server for coc.nvim
MIT License
48 stars 0 forks source link

How I configure compiler version? #6

Closed 0xrin1 closed 1 year ago

0xrin1 commented 2 years ago

image

Probably just a simple question but how can I resolve these errors? Since there is a no tolerance policy I can't use the plugin if the compiler is not configured to the right version

qiuxiang commented 2 years ago

u can change to pragma solidity ^0.8.10;

0xrin1 commented 2 years ago

can i do it without changing the solidity version of the contract i'm working on? dont want to cause problems with the people i'm working with

qiuxiang commented 2 years ago

I have plans to support specify solc version. But I have no time to implement it in the near future. coc-solidity@0.1.0 may work.

qiuxiang commented 1 year ago

done in https://github.com/qiuxiang/solidity-ls/commit/0ed97c3345bee8153f696e4b8e3dbe70bf22a007