gdshader.vim (510B)
1 " Vim filetype plugin file 2 " Language: Godot shading language 3 " Maintainer: Maxim Kim <habamax@gmail.com> 4 " Website: https://github.com/habamax/vim-gdscript 5 " Last Update: 2025-06-09 6 " 7 " This file has been manually translated from Vim9 script. 8 9 if exists("b:did_ftplugin") | finish | endif 10 let b:did_ftplugin = 1 11 12 let b:undo_ftplugin = 'setlocal suffixesadd< comments< commentstring<' 13 14 setlocal suffixesadd=.gdshader 15 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// 16 setlocal commentstring=//\ %s