-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standalone installation instructions #13
Comments
Now you should be able to run the server for neovim with Ps. im trying to solve the same problem as you (using it in neovim) i don't know if this is the "recommended" way to get it up and running but so far it looks promising. |
Hi @Simerax and @enderger . Yes, that's the recommended method for getting it running. The https://github.com/bscan/PerlNavigator docs have more information about this type of configuration, as the Perl and Raku Navigators both share the same architecture. For the Perl version, it also can be downloaded from NPM, which is something I'd like to add here. Pull requests would also be more than welcome. The settings will likely vary per editor, so crowdsourcing this would be helpful. |
Jupyter LabI followed the instructions on the PerlNavigator site to install RakuNavigator into To use RakuNavigator with JupyterLab I created a file
in the directory After tweaking the Raku-Kernel to use "mimetype": "text/x-raku", instead of "mimetype": "text/plain" for new Notebooks (basically search/replace) it worked. Will do a PR, maybe the change gets included. |
I couldn't get the Raku language server to work with emacs 29.1. I did these steps:
Then I went to the PerlNavigator repo, where there are instructions for emacs and eglot, and I converted the following
to this
I added the RakuNavigator configuration to my .emacs file. Then I did:
to make server.js executable. Then I installed the
Then I restarted emacs, and I opened the file b.raku and the mode line specified
but I got the error:
Here's the full output:
In the buffer containing my raku file, I don't get any language hints when I put the cursor on a function or anything else that would make me think the language server is working.
Here's some debug output:
|
Hi @7stud, I believe the issue is that server.js is not an executable. For perlnavigator, I provide an executable that is installed in For the Raku version, I have not yet uploaded this to npm or added the executable. In the meantime, you can preface the command with "node" and it should work. See the comment from @rcmlz as well where they used this as a command:
|
There's lots of good information here, but could I sugest adding installation instructions to README documentation per editor? |
Currently, there is no information on separating the language server from the VSCode extension. For users of other editors, it might be good to provide instructions for installing the server outside of VSCode to be used in something like Neovim.
The text was updated successfully, but these errors were encountered: