aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/gdshader.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftplugin/gdshader.vim')
-rw-r--r--runtime/ftplugin/gdshader.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/ftplugin/gdshader.vim b/runtime/ftplugin/gdshader.vim
new file mode 100644
index 0000000000..f0d34ee5a6
--- /dev/null
+++ b/runtime/ftplugin/gdshader.vim
@@ -0,0 +1,13 @@
+" Vim filetype plugin file
+" Language: Godot shading language
+" Maintainer: Maxim Kim <habamax@gmail.com>
+" Website: https://github.com/habamax/vim-gdscript
+"
+" This file has been manually translated from Vim9 script.
+
+if exists("b:did_ftplugin") | finish | endif
+let b:did_ftplugin = 1
+
+let b:undo_ftplugin = 'setlocal suffixesadd<'
+
+setlocal suffixesadd=.gdshader