Add gradle compiler support, closes #358

This commit is contained in:
Adam Stankiewicz
2019-03-04 10:57:25 +01:00
parent ca2fbfe038
commit 1ba88cc7d8
5 changed files with 67 additions and 1 deletions

View File

@@ -427,6 +427,14 @@ unlet s:cpo_save
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gradle') == -1
augroup filetypedetect
" gradle, from gradle.vim in tfnico/vim-gradle
" gradle syntax highlighting
au BufNewFile,BufRead *.gradle set filetype=groovy
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'graphql') == -1
augroup filetypedetect
" graphql, from graphql.vim in jparise/vim-graphql