feat: support css indent

This commit is contained in:
yemai
2018-09-28 15:23:54 +08:00
parent 65548cf7fb
commit a923db95fd
3 changed files with 64 additions and 25 deletions

View File

@@ -1,5 +1,26 @@
# vim-vue
# vim-vue-plugin
Vim plugin for `.vue` file syntax and indent. Mainly inspired by [mxw/vim-jsx][1]
Vim plugin for `.vue` files syntax and indent. Mainly inspired by [mxw/vim-jsx][1].
## Install
- Use [VundleVim][2]
Plugin 'leafOfTree/vim-vue-plugin'
- Or manual: download 'vim-vue-plugin' and drop it in `Vim/vimfiles`.
Plugin works if filetype is set to `javascript.vue`.
## How it works
Since `.vue` is a combination of CSS, HTML and JavaScript, so is `vim-vue-plugin`. (Like XML and JavaScript for `.jsx`).
Support `.wpy` files too.
## Config
## Screenshot
[1]: https://github.com/mxw/vim-jsx "mxw: vim-jsx"
[2]: https://github.com/VundleVim/Vundle.vim