0 votes

I was wondering, if anyone got the Language Server working with VIM and could provide step by step instructions on how to get it up and running.
So far I have not found any good instructions for this topic.

in Engine by (47 points)

1 Answer

+1 vote

Try using Godot 3.2.2 and vim-godot.

(Godot 3.2.2 switched its LSP implementation from WebSockets to LSP, which is compatible with more editors out there.)

by (12,893 points)

I have already found those links, but unfortunately there is no mention at all on how to configure it all.

I created an issue to ask for installation instructions, but in the meantime, I guess you should try cloning the repository into your Vim plugins folder. You could also use a plugin manager such as vim-plug to make this more convenient.

@Calinou, I have updated docs there + added coc.nvim setup example

LSP implementation was switched from WebSockets to TCP. https://github.com/godotengine/godot/pull/35864

The documentation in the coc wiki was was missing the "gdscript" filetype in it's documentation. I have added it there in hopes that that mitigates some confusion.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.