summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-02-02 21:49:51 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2017-02-02 21:49:51 +0100
commitcc868aee51c3880f08832cca0bf1351334d61794 (patch)
treee66ecd0ead35e53dd16283d6757410cd276bcb83 /ftdetect
parent39036a553f353ffb70ec4ad25c0789567fb3518d (diff)
downloadvim-polyglot-cc868aee51c3880f08832cca0bf1351334d61794.tar.gz
vim-polyglot-cc868aee51c3880f08832cca0bf1351334d61794.zip
Add vue support, closes #160
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim7
1 files changed, 7 insertions, 0 deletions
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