diff options
| author | Adam Stankiewicz <sheerun@sher.pl> | 2017-11-19 21:51:33 +0100 |
|---|---|---|
| committer | Adam Stankiewicz <sheerun@sher.pl> | 2017-11-19 21:51:43 +0100 |
| commit | 30c87b73deff05c7dd9590228c0615a3299f39ff (patch) | |
| tree | 2f749f9b2f7a919219d12e330edf7cd5b2719f1d | |
| parent | 1713d35f06420fac33c626306fd51a286c837969 (diff) | |
| download | vim-polyglot-30c87b73deff05c7dd9590228c0615a3299f39ff.tar.gz vim-polyglot-30c87b73deff05c7dd9590228c0615a3299f39ff.zip | |
Automatically set vb format, closes #243v3.1.0
Diffstat (limited to '')
| -rw-r--r-- | config.vim | 4 | ||||
| -rw-r--r-- | ftdetect/polyglot.vim | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -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 |
