TerminalFi / LSP-copilot

GitHub Copilot support for Sublime Text LSP plugin provided through Copilot.vim.
625 stars 25 forks source link

fix: Invalid params: /doc must have required property 'version' #79

Closed TerminalFi closed 1 year ago

TerminalFi commented 1 year ago

Copilot now requests that the doc parameter now contains version with the document version. This must match what is on the server side as well.

For now, using value of 0 seems to work, however the best scenario would be to try and get the version from LSP as it tracks it for us

jfcherng commented 1 year ago

Confirmed working with v1.8.1. The linting errors seem to be irrelevant.

jfcherng commented 1 year ago

I can help fixing that linting issue.