summaryrefslogtreecommitdiffstats
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 0000000..809a005
--- /dev/null
+++ b/runtime/ftplugin/gdshader.vim
@@ -0,0 +1,13 @@
+vim9script
+
+# Vim filetype plugin file
+# Language: Godot shading language
+# Maintainer: Maxim Kim <habamax@gmail.com>
+# Website: https://github.com/habamax/vim-gdscript
+
+if exists("b:did_ftplugin") | finish | endif
+b:did_ftplugin = 1
+
+b:undo_ftplugin = 'setlocal suffixesadd<'
+
+setlocal suffixesadd=.gdshader