clktmr / vim-gdscript3

Syntax highlighting and completion for GDScript 3
MIT License
13 stars 3 forks source link

Description

GDScript is the primary scripting language used by the Godot Game Engine.

This plugin adds filetype set, syntax highlighting, snippets and ctags for the most recent version (3.2 at the time of writing).

Installation

Using vim-plug:

Plug 'clktmr/vim-gdscript3'

Or any other plugin manager of your choice.

Screenshot

Screenshot

Colorscheme: base16-eighties

Completion, Go To Definition and Error Linting

I highly recommend using coc.nvim with the LSP and the following configuration:

  "languageserver": {
      "godot": {
        "host": "127.0.0.1",
        "filetypes": ["gd", "gdscript3"],
        "port": 6008
      }
    }

Ps. This will only works after this PR gets merged and released on Godot.

License

MIT