Start language server for .langium grammar files #1588
-
I would like to use NeoVim for development. How to manually run language server for .langium grammar files? (Should be straight forward, but I couldn't find it even after extensive web search) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @borisbrodski, you would need to extract the Also, does NeoVim support textmate based syntax highlighting? We make heavy use of that to get the syntax highlighting in VS Code. |
Beta Was this translation helpful? Give feedback.
-
This works indeed. Thank you very much! I just needed to fix one line in the code: #1590 |
Beta Was this translation helpful? Give feedback.
Hey @borisbrodski,
you would need to extract the
main.js
from the vscode extension (or build it from scratch) and run the file usingnode main.js --stdio
and connect the stdio with the language client. No idea how that works in NeoVim though. We just use thevscode-languageclient
to get the support for VS Code.Also, does NeoVim support textmate based syntax highlighting? We make heavy use of that to get the syntax highlighting in VS Code.