gdshader.vim (453B)
1 vim9script 2 3 # Vim filetype plugin file 4 # Language: Godot shading language 5 # Maintainer: Maxim Kim <habamax@gmail.com> 6 # Website: https://github.com/habamax/vim-gdscript 7 # Last Update: 2025-06-09 8 9 if exists("b:did_ftplugin") | finish | endif 10 b:did_ftplugin = 1 11 12 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