summaryrefslogtreecommitdiffstats
path: root/ftplugin/vue.vim
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 /ftplugin/vue.vim
parent39036a553f353ffb70ec4ad25c0789567fb3518d (diff)
downloadvim-polyglot-cc868aee51c3880f08832cca0bf1351334d61794.tar.gz
vim-polyglot-cc868aee51c3880f08832cca0bf1351334d61794.zip
Add vue support, closes #160
Diffstat (limited to 'ftplugin/vue.vim')
-rw-r--r--ftplugin/vue.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/ftplugin/vue.vim b/ftplugin/vue.vim
new file mode 100644
index 00000000..9b4ec9b1
--- /dev/null
+++ b/ftplugin/vue.vim
@@ -0,0 +1,14 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vue') == -1
+
+" Vim filetype plugin
+" Language: Vue.js
+" Maintainer: Eduardo San Martin Morote
+" Author: Adriaan Zonnenberg
+
+if exists("b:did_ftplugin")
+ finish
+endif
+
+runtime! ftplugin/html.vim
+
+endif