mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-13 05:53:50 -05:00
Add gdscript, closes #483
This commit is contained in:
@@ -461,6 +461,20 @@ autocmd BufNewFile,BufRead *.fs,*.fsi,*.fsx set filetype=fsharp
|
||||
augroup end
|
||||
endif
|
||||
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gdscript') == -1
|
||||
augroup filetypedetect
|
||||
" gdscript, from gdscript3.vim in calviken/vim-gdscript3
|
||||
autocmd BufRead,BufNewFile *.gd set filetype=gdscript3
|
||||
augroup end
|
||||
endif
|
||||
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gdscript') == -1
|
||||
augroup filetypedetect
|
||||
" gdscript, from gsl.vim in calviken/vim-gdscript3
|
||||
autocmd BufRead,BufNewFile *.shader set filetype=gsl
|
||||
augroup end
|
||||
endif
|
||||
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'glsl') == -1
|
||||
augroup filetypedetect
|
||||
" glsl, from glsl.vim in tikhomirov/vim-glsl:_NOAFTER
|
||||
|
||||
Reference in New Issue
Block a user