mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-11-02 18:37:34 +08:00
A syntax in the config without a syntax file, like postcss, showed E484 on opening a file. Skip loading it, with a warning in debug. A syntax without an indent file used cindent, which broke indent of languages like pug, stylus without their plugins, or toml. Keep the indent instead. Lines outside blocks still use cindent.
16 lines
154 B
Vue
16 lines
154 B
Vue
<template>
|
|
<div>x</div>
|
|
</template>
|
|
|
|
<style lang="postcss">
|
|
p
|
|
color: red
|
|
a
|
|
color: blue
|
|
</style>
|
|
|
|
<i18n lang="toml">
|
|
[en]
|
|
hello = "hi"
|
|
</i18n>
|