bugst / go-lsp

A client/server library for the LSP (Language Server Protocol) specification
BSD 3-Clause "New" or "Revised" License
10 stars 10 forks source link

implement textDocument/inlineCompletion #6

Open mageOfstructs opened 3 months ago

mageOfstructs commented 3 months ago

I'm using Neovim 0.10.1-3; I have integrated arduino-language-server through applying the patch in #5 manually building it. arduino-language-server boots up and panics after about 2 seconds; The reason for this is the unimplemented request "textDocument/inlineCompletion"

mike-lloyd03 commented 3 months ago

Did you add the patch to the master branch? If so, that could be why. My PR is based on latest release tag (v0.1.2).

You could probably just clone my fork, build it, and tell nvim to use that binary. This is what I have in my nvim config:

require("lspconfig").arduino_language_server.setup({
    cmd = { "/home/mike/repos/arduino-language-server/arduino-language-server" },
})
k33pn3xtlvl commented 2 months ago

I can confirm with the NVIM v0.10.1 and the release tag v0.1.2 the patch works well!

DaiAoMori commented 2 months ago

Same here. Used your fork, works fine (as far as I can say after half an hour of fiddling around with it); no panics so far.