runtime(gdscript): add recommended indent options to ftplugin

related: #15264

Signed-off-by: markmacode <code@mamo.aleeas.com>
Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
markmacode
2024-07-16 21:18:06 +02:00
committed by Christian Brabandt
parent b5844104ab
commit 6a54dcbbd6
2 changed files with 17 additions and 0 deletions

View File

@ -623,6 +623,17 @@ any #lang directive overrides, use the following command: >
let g:freebasic_lang = "fblite"
GDSCRIPT *ft-gdscript-plugin*
By default the following options are set, based on Godot official docs: >
setlocal noexpandtab softtabstop=0 shiftwidth=0
To disable this behavior, set the following variable in your vimrc: >
let g:gdscript_recommended_style = 0
GIT COMMIT *ft-gitcommit-plugin*
One command, :DiffGitCached, is provided to show a diff of the current commit