Skip to content

Syntax highlighting and completion for GDScript 3

License

Notifications You must be signed in to change notification settings

Rubonnek/vim-gdscript3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'

Using built-in Vim plugin system

mkdir -p ~/.vim/pack/plugins/start
pushd ~/.vim/pack/plugins/start
git clone /~https://github.com/Rubonnek/vim-gdscript3
popd

Screenshot

Screenshot

Colorscheme: base16-eighties

Completion, Go To Definition and Error Linting

coc.nvim configuration

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

ALE configuration

if exists(':ALEInfo')
	call ale#linter#Define('gdscript3', {
	\   'name': 'godot',
	\   'lsp': 'socket',
	\   'address': '127.0.0.1:6008',
	\   'project_root': 'project.godot',
	\})
endif

License

MIT

About

Syntax highlighting and completion for GDScript 3

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vim Script 86.7%
  • Vim Snippet 13.3%