From 4f0bde6d67160df91875be29abae7f87587771a2 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 4 Mar 2019 10:35:44 +0100 Subject: Add flatbuffers support, closes #368 --- ftdetect/polyglot.vim | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 4e8214a8..a996ad42 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -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 -- cgit v1.2.3