mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
vim-patch:572d460: runtime(gdshader): add comments and commentstring to ftplugin
closes: vim/vim#17500
572d46035f
Co-authored-by: Maxim Kim <habamax@gmail.com>
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
This commit is contained in:
committed by
Christian Clason
parent
677a50bb26
commit
b1aed2b40a
@ -2,12 +2,15 @@
|
||||
" Language: Godot shading language
|
||||
" Maintainer: Maxim Kim <habamax@gmail.com>
|
||||
" Website: https://github.com/habamax/vim-gdscript
|
||||
" Last Update: 2025-06-09
|
||||
"
|
||||
" This file has been manually translated from Vim9 script.
|
||||
|
||||
if exists("b:did_ftplugin") | finish | endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
let b:undo_ftplugin = 'setlocal suffixesadd<'
|
||||
let b:undo_ftplugin = 'setlocal suffixesadd< comments< commentstring<'
|
||||
|
||||
setlocal suffixesadd=.gdshader
|
||||
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
|
||||
setlocal commentstring=//\ %s
|
||||
|
Reference in New Issue
Block a user