Closed llllvvuu closed 11 months ago
Wow thanks this is great!
@juanfranblanco did you want to set up an npm account? or I can publish an independent version
@llllvvuu is there any guide available to set this up in Neovim?
@llllvvuu is there any guide available to set this up in Neovim?
I forked nvim-lspconfig: https://github.com/llllvvuu/nvim-lspconfig/commit/08664bf761f73bc129df7f1cfb9b29884793ae81
I will make that a PR if/when the npm release becomes available from @juanfranblanco (https://github.com/juanfranblanco/vscode-solidity/pull/429)
resolves #282
The only thing I didn't do is change the
package.json
name
, since that would also change the VSCode extension name. Butsolidity
is taken on NPM, so you'll need to temporarily change the name each time you runnpm publish
and then change it back. This can be done in a GitHub Action.Publish to NPM:
npm publish
.Users:
The changes:
package.json
to usetsup
server.ts
to read the default config frompackage.json
so that even if the client doesn't send a config, they'll still get the default behavior. This is because if the non-VSCode client has to keep manually copying the client config frompackage.json
, it's hard to keep it up-to-date.server.ts
is just me moving theonDidChangeConfiguration
logic into a separate function so that it can be run in bothonInitialize
andonDidChangeConfiguration
.