summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.vim4
-rw-r--r--ftdetect/polyglot.vim4
2 files changed, 8 insertions, 0 deletions
diff --git a/config.vim b/config.vim
index 2f90dc97..d37407f0 100644
--- a/config.vim
+++ b/config.vim
@@ -9,3 +9,7 @@ if !exists('g:vim_json_syntax_conceal')
endif
let g:filetype_euphoria = 'elixir'
+
+augroup filetypedetect
+ autocmd BufNewFile,BufReadPost *.vb setlocal filetype=vbnet
+augroup END
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