2017-02-02 15:49:51 -05:00
|
|
|
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
|
|
|
|
|
2017-03-23 06:28:19 -04:00
|
|
|
setlocal suffixesadd+=.vue
|
|
|
|
|
2017-05-17 05:07:28 -04:00
|
|
|
if exists('g:loaded_ale')
|
|
|
|
let g:ale_linters = get(g:, 'ale_linters', {})
|
|
|
|
let g:ale_linters.vue = get(g:ale_linters, 'vue', ['eslint'])
|
|
|
|
let g:ale_linter_aliases = get(g:, 'ale_linter_aliases', {})
|
|
|
|
let g:ale_linter_aliases.vue = get(g:ale_linter_aliases, 'vue', 'javascript')
|
|
|
|
endif
|
|
|
|
|
2017-02-02 15:49:51 -05:00
|
|
|
endif
|