diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-12-07 17:39:31 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-12-07 17:39:31 +0100 |
commit | 4d8423c962e2b4172de48992bcfec965478f928b (patch) | |
tree | def9075bf938101360a834f872f1e131aabfeb3e /ftdetect/polyglot.vim | |
parent | e204a7223b4334ed1c556a4564a8048888b69fe8 (diff) | |
download | vim-polyglot-4.1.3.tar.gz vim-polyglot-4.1.3.zip |
Add v language, closes #437v4.1.3
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r-- | ftdetect/polyglot.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 128d60c3..5ab23e80 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -1473,6 +1473,14 @@ autocmd BufNewFile,BufRead *.tsx setlocal filetype=typescriptreact augroup end endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'v') == -1 + augroup filetypedetect + " v, from vlang.vim in ollykel/v-vim +au BufNewFile,BufRead *.v set filetype=vlang +au BufNewFile,BufRead *.v set syntax=vlang + augroup end +endif + if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vala') == -1 augroup filetypedetect " vala, from vala.vim in arrufat/vala.vim |