From cc868aee51c3880f08832cca0bf1351334d61794 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 2 Feb 2017 21:49:51 +0100 Subject: Add vue support, closes #160 --- ftdetect/polyglot.vim | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 54229aa7..f431def0 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -1000,4 +1000,11 @@ au BufRead,BufNewFile *.vm set ft=velocity syntax=velocity endif +" ftdetect/vue.vim +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vue') == -1 + +au BufNewFile,BufRead *.vue setf vue.html.javascript.css + +endif + augroup END -- cgit v1.2.3