Skip to content
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

Running the LSP Server #2

Open
mmcky opened this issue Jan 15, 2024 · 7 comments
Open

Running the LSP Server #2

mmcky opened this issue Jan 15, 2024 · 7 comments

Comments

@mmcky
Copy link

mmcky commented Jan 15, 2024

Hi @chrisjsewell. Just wondering if it would be possible to add instructions to start the LSP server.

I have seen

https://neovim.io/doc/user/lsp.html

and would love to try and connect this LSP server for MyST to neovim.

Once I get it working I can submit a PR and add instructions for neovim if you'd like. Cheers.

@mmcky
Copy link
Author

mmcky commented Jan 15, 2024

I have tried running in the server folder

npm init --yes
npm i -D typescript ts-node
node --loader ts-node/esm src/server.ts

@mmcky
Copy link
Author

mmcky commented Jan 17, 2024

@chrisjsewell I have managed to compile the package producing the server/out folder.

When I run

server/out/server.js --socket=10000

it returns but I don't see the server running as a process.

@mmcky
Copy link
Author

mmcky commented Jan 17, 2024

I would love to get this working and then we can add in compatibility for MyST using your myst-lsp for vim (via nvim-lspconfig) and emacs

@chrisjsewell
Copy link
Owner

chrisjsewell commented Jan 17, 2024

Heya! will try to have a look this week 👍

@mmcky
Copy link
Author

mmcky commented Jan 30, 2024

hey @chrisjsewell -- would you have time to maybe link up briefly this week?
In the meantime I will do some reading around LSP config and nvim - maybe I can try and concur emacs and nvim at the same time.

@chrisjsewell
Copy link
Owner

Hey @mmcky is it ok to link up maybe next Monday?

@mmcky
Copy link
Author

mmcky commented Jan 31, 2024

thanks @chrisjsewell that would be great. I am pretty flexi Mon/Tue AM (your evening on Mon) so let me know what works best for you. Looking forward to catching up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants