runtime(gdshader): add comments and commentstring to ftplugin

Commit: 
https://github.com/vim/vim/commit/572d46035f257a483b2ad53d2dbbb0967f515bcf
Author: Maxim Kim <haba...@gmail.com>
Date:   Tue Jun 10 20:35:03 2025 +0200

    runtime(gdshader): add comments and commentstring to ftplugin
    
    closes: https://github.com/vim/vim/issues/17500
    
    Co-authored-by: Riley Bruins <ribr...@hotmail.com>
    Signed-off-by: Maxim Kim <haba...@gmail.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/ftplugin/gdshader.vim b/runtime/ftplugin/gdshader.vim
index 809a00567..a66c6cf7b 100644
--- a/runtime/ftplugin/gdshader.vim
+++ b/runtime/ftplugin/gdshader.vim
@@ -4,10 +4,13 @@ vim9script
 # Language: Godot shading language
 # Maintainer: Maxim Kim <haba...@gmail.com>
 # Website: https://github.com/habamax/vim-gdscript
+# Last Update: 2025-06-09
 
 if exists("b:did_ftplugin") | finish | endif
 b:did_ftplugin = 1
 
-b:undo_ftplugin = 'setlocal suffixesadd<'
+b:undo_ftplugin = 'setlocal suffixesadd< comments< commentstring<'
 
 setlocal suffixesadd=.gdshader
+setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
+setlocal commentstring=//\ %s

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1uP3y6-00BpkT-3G%40256bit.org.

Raspunde prin e-mail lui