if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vue') == -1 " Vim indent file " Language: Vue.js " Maintainer: Eduardo San Martin Morote " Author: Adriaan Zonnenberg if exists("b:did_indent") finish endif " Load indent files for required languages for language in ['stylus', 'pug', 'css', 'javascript', 'html', 'coffee'] unlet! b:did_indent exe "runtime! indent/".language.".vim" exe "let s:".language."indent = &indentexpr" endfor let b:did_indent = 1 setlocal indentexpr=GetVueIndent() if exists("*GetVueIndent") finish endif function! GetVueIndent() if searchpair('