From 30c87b73deff05c7dd9590228c0615a3299f39ff Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 19 Nov 2017 21:51:33 +0100 Subject: Automatically set vb format, closes #243 --- ftdetect/polyglot.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 19bfa777..8197de6d 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -9,6 +9,10 @@ if !exists('g:vim_json_syntax_conceal') endif let g:filetype_euphoria = 'elixir' + +augroup filetypedetect + autocmd BufNewFile,BufReadPost *.vb setlocal filetype=vbnet +augroup END augroup filetypedetect " apiblueprint:sheerun/apiblueprint.vim autocmd BufReadPost,BufNewFile *.apib set filetype=apiblueprint -- cgit v1.2.3