diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-04 10:35:44 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-04 10:35:44 +0100 |
commit | 4f0bde6d67160df91875be29abae7f87587771a2 (patch) | |
tree | 5ea4b27712a6602fc7bc2a2ea1c6bfaa5839971d /ftdetect | |
parent | 833b2fadd5e9830435d53b9b16e438b0aa96ac77 (diff) | |
download | vim-polyglot-4f0bde6d67160df91875be29abae7f87587771a2.tar.gz vim-polyglot-4f0bde6d67160df91875be29abae7f87587771a2.zip |
Add flatbuffers support, closes #368
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 7 |
1 files changed, 7 insertions, 0 deletions
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 |