summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/gdshader.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-30 20:26:34 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-30 20:26:34 +0100
commit9b03d3e75b4274493bbe76772d7b92238791964c (patch)
treed6d26fb5f2689da0a86eab0eab4dbbd016fb6eac /runtime/ftplugin/gdshader.vim
parent04c4c5746e15884768d2cb41370c3276a196cd4c (diff)
Update runtime files
Diffstat (limited to 'runtime/ftplugin/gdshader.vim')
-rw-r--r--runtime/ftplugin/gdshader.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/ftplugin/gdshader.vim b/runtime/ftplugin/gdshader.vim
new file mode 100644
index 0000000000..74de7c10f2
--- /dev/null
+++ b/runtime/ftplugin/gdshader.vim
@@ -0,0 +1,12 @@
+vim9script
+
+# Vim filetype plugin file
+# Language: Godot shading language
+# Maintainer: Maxim Kim <habamax@gmail.com>
+
+if exists("b:did_ftplugin") | finish | endif
+b:did_ftplugin = 1
+
+b:undo_ftplugin = 'setlocal suffixesadd<'
+
+setlocal suffixesadd=.gdshader