Add flatbuffers support, closes #368

This commit is contained in:
Adam Stankiewicz
2019-03-04 10:35:44 +01:00
parent 833b2fadd5
commit 4f0bde6d67
4 changed files with 66 additions and 1 deletions

View File

@@ -345,6 +345,13 @@ autocmd BufNewFile,BufRead *.ferm setf ferm
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'flatbuffers') == -1
augroup filetypedetect
" flatbuffers, from fbs.vim in dcharbon/vim-flatbuffers
autocmd BufNewFile,BufRead *.fbs setfiletype fbs
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fsharp') == -1
augroup filetypedetect
" fsharp, from fsharp.vim in fsharp/vim-fsharp:_BASIC