Skip to content
This repository has been archived by the owner on Sep 10, 2020. It is now read-only.

mlvl42/coc-godot

Repository files navigation

coc-godot

This extension is now useless since godotengine/godot#34523 has been closed in godot version 3.2.2.

coc.nvim extension for godot language server protocol. Original work by https://github.com/godotengine/godot-vscode-plugin ported to coc.nvim

This extension will most likely become useless once godot 3.2.2 is released, as the language server will switch from websockets to TCP (cf: godotengine/godot#35864) we will be able to define a custom language server like this godotengine/godot#34523 (comment)

I recommend https://github.com/calviken/vim-gdscript3 for syntax highlighting and added filetype to .gd files.

Install

:CocInstall coc-godot

Features

No commands are implemented yet, however this extension provides:

  • code completion
  • code validation
  • go to definition
  • documentation on hover

You must be editing the same project that godot currently opens in order for these features to work.

Configuration

In order to access your config file, launch :CocConfig. The following configuration variables are exposed:

- godot.enable: default true // states wether this extension should be enabled
- godot.lsp_server_port: default 6008

About

coc.nvim extension for godot language server protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published