mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
f5d59340a6
Translate the Vim9 script Godot files to legacy. `<scriptcmd>` is not ported yet, so replace it with `<Cmd>` and `<SID>`. If it's ported, `<scriptcmd>call s:` can be used instead. Includes changes from: vim-patch:0daafaa7d99e (was partial, but is now pretty much fully ported) vim-patch:9712ff1288f9 Co-authored-by: Maxim Kim <habamax@gmail.com>
14 lines
366 B
VimL
14 lines
366 B
VimL
" Vim filetype plugin file
|
|
" Language: Godot shading language
|
|
" Maintainer: Maxim Kim <habamax@gmail.com>
|
|
" Website: https://github.com/habamax/vim-gdscript
|
|
"
|
|
" 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<'
|
|
|
|
setlocal suffixesadd=.gdshader
|