mirror of
https://github.com/posva/vim-vue.git
synced 2025-12-08 18:34:45 +08:00
Update README with installation instructions
This commit is contained in:
27
README.md
27
README.md
@@ -1,2 +1,29 @@
|
|||||||
|
# vim-vue
|
||||||
|
|
||||||
Vim syntax highlighting for [Vue
|
Vim syntax highlighting for [Vue
|
||||||
components](http://vuejs.org/guide/application.html#Single_File_Components).
|
components](http://vuejs.org/guide/application.html#Single_File_Components).
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
### Install with (Vundle)[]
|
||||||
|
|
||||||
|
Add this line to your vimrc:
|
||||||
|
|
||||||
|
`Plugin 'darthmall/vim-vue'`
|
||||||
|
|
||||||
|
Then reload your vim configuration and run `PluginInstall`:
|
||||||
|
|
||||||
|
```vim
|
||||||
|
:source ~/.vimrc
|
||||||
|
:PluginInstall
|
||||||
|
```
|
||||||
|
|
||||||
|
### Manual Installation
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ git clone https://github.com/darthmall/vim-vue.git
|
||||||
|
$ cp vim-vue/ftdetect/vue.vim ~/.vim/ftdetect/
|
||||||
|
$ cp vim-vue/syntax/vue.vim ~/.vim/syntax
|
||||||
|
```
|
||||||
|
|
||||||
|
[Vundle]: https://github.com/gmarik/Vundle.vim
|
||||||
|
|||||||
Reference in New Issue
Block a user