GDScript is the primary scripting language used by the Godot Game Engine.
This plugin adds syntax highlighting and completion for the most recent version (3.0 at the time of writing).
Using vim-plug:
Plug 'calviken/vim-gdscript3'
Or any other plugin manager of your choice.
Colorscheme: base16-eighties
(Note: this feature requires Vim to be compiled with Python support)
Vim's completion feature can be used to display members and methods of built-in GDScript types (among other things).
To show completions, press <C-x><C-o>
in insert mode, and use <C-n>
and <C-p>
to cycle through completions.
Alternatively, install a completion plugin (recommended). The following plugins are supported out of the box:
- SuperTab: Shows completions when Tab is pressed.
- Deoplete: Asynchronous completion framework that shows completions as you type.
Any plugin that supports omnicompletion should also work, but will likely require additional configuration.
echodoc is also supported, for showing method signatures in the echo area (useful for methods with lots of parameters).
For a non-comprehensive list of features, see this wiki page
For Syntastic users, a checker is included and enabled by default.
First, download the Godot server binary, rename to godot_server
, and place in a $PATH
accessible directory.
Credit goes to clktmr for creating the checker.
MIT