I know, it's VB. But I decided to test it and it doesn't look like polyglot activates the VB.NET plugin automatically; the plugin uses vbnet as the syntax option, but when you open a .vb file, vim is still using the vb syntax option.
ftdetect/polyglot.vim is not setting any syntax option:
augroup filetypedetect
" vbnet:vim-scripts/vbnet.vim
augroup END
I believe (not knowing much vim-script) that this should be:
augroup filetypedetect
" vbnet:vim-scripts/vbnet.vim
au BufRead,BufNewFile *.vb set filetype=vbnet
augroup END
I know, it's VB. But I decided to test it and it doesn't look like polyglot activates the VB.NET plugin automatically; the plugin uses
vbnet
as the syntax option, but when you open a.vb
file, vim is still using thevb
syntax option.ftdetect/polyglot.vim
is not setting any syntax option:I believe (not knowing much vim-script) that this should be: