LSP-copilot icon indicating copy to clipboard operation
LSP-copilot copied to clipboard

Is this a general purpose LSP or is it "tweaked and fitted" to sublime? :)

Open jerabaul29 opened this issue 11 months ago • 5 comments

Curious / trying to decide if I could / should use this solution in my editor (helix-editor).

Is this package a "general purpose" LSP that should work with any editor that implements LSP client functionality, or is it somehow tightly fitted for sublime? For example, do you think this would be useable with the helix editor? If so, I need to set up a small config that typically looks like (taking an example from another LSP I have in my config):

[language-server.cspell]
command = "cspell-lsp"
args = ["--stdio", "--dictionary", "/home/helix_ubuntu/.config/harper-ls/dictionary.txt"]

any recommendation on how I should set it up to make LSP-copilot work? :)

jerabaul29 avatar Jan 20 '25 15:01 jerabaul29

What do you mean? I don't think helix-editor uses Python as its plugin language.

jfcherng avatar Jan 20 '25 15:01 jfcherng

You probably ask in a wrong repository. What you are interested in is probably https://github.com/github/copilot.vim , which contains a LSP server written in JS.

jfcherng avatar Jan 20 '25 15:01 jfcherng

I had a feeling taking a fast read through that this may interface to the target editor through the LSP standard - since if I understand correctly the sublime user should install a LSP plugin, and I also see that zed can use this from their forum. If so, then any editor that has a LSP interface would be able to use this. Just curious if this is the case or if I misunderstood :) .

jerabaul29 avatar Jan 20 '25 16:01 jerabaul29

Ok, thanks for the pointer - I had the feeling this other repo was fitted to nvim and not a general lsp, but I may have misunderstood :)

jerabaul29 avatar Jan 20 '25 16:01 jerabaul29

The LSP server itself doesn't dedicate to any editor. It's just a JS script. This repository is a client of it as a bridge between the server and Sublime Text.

jfcherng avatar Jan 20 '25 16:01 jfcherng