Replies: 4 comments 4 replies
-
Hi @jpaju So the binaries I included earlier today have only been tested on linux locally. In the most recent changes I've merged into master, they mostly pertain to providing a better method of building the wasm file (which might have caused the error you are seeing). I do not have much experience with using From the error message you provided, I believe installing the project from source would resolve those issues. git clone https://github.com/ndonfris/fish-lsp.git
cd fish-lsp
yarn install
yarn setup
fish-lsp --help # would indicate that the project successfully built From research I've conducted across other language servers using tree sitter, the currently accepted approach requires building the wasm executable locally when the project is installed. This is done in the file: scripts/build-fish-wasm.sh. If you're having issues after building the project still, could you confirm if running For helix specific configurations, I believe you should be able to use the [[language-server.fish-lsp]]
command = "fish-lsp"
args = ["start"]
[[language]]
name = "fish"
auto-format = false
language-servers = [ "fish-lsp ] Here's a very similar setup from the kickstart.nvim client I setup this morning. |
Beta Was this translation helpful? Give feedback.
-
As for packaging in nix, I think that'd be a great idea if we could get it working. I'm currently looking into yaserver's projects setup, to hopefully improve the node release. This might also help me get a web-socket version working, which helix could use (as seen in the netcat example. |
Beta Was this translation helpful? Give feedback.
-
Fellow Mac user who just set up the lsp this morning. The useful binary ended up in I can run fish-lsp from my shell:
Helix sees the LSP.
And my languages.toml does in fact match what was shared earlier:
|
Beta Was this translation helpful? Give feedback.
-
https://github.com/zed-industries/json-language-server might be another approach. |
Beta Was this translation helpful? Give feedback.
-
Hey! 👋🏼
First of all, thanks for building a LSP for fish!
I tried to install the LSP by downloading the binary (
fish-lsp-macos
) from the 1.0.0 release. When the client (I'm using Helix editor if that matters) sends theinitialize
message to the LSP, it crashes and dumps this to stderr:I can see that the error is about missing a tree sitter wasm executable. Should there be some additional installation steps to get this working?
Beta Was this translation helpful? Give feedback.
All reactions