Skip to content

Vim -> README #126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ The short answer is no and we are not going to implement that in near future. Ta
* [WebStorm](#webstorm)
* [Atom](#atom)
* [Visual Studio Code](#visual-studio-code)
* [Vim](#vim)

#### WebStorm

Expand Down Expand Up @@ -353,6 +354,17 @@ The short answer is no and we are not going to implement that in near future. Ta

*Check out the history beyond that: [kaminaly/vscode-react-pug#4](https://github.com/kaminaly/vscode-react-pug/issues/4).*

#### Vim

1. Install [vim-pug](https://github.com/digitaltoad/vim-pug) and [vim-js-pretty-template](https://github.com/Quramy/vim-js-pretty-template)
2. Add this bit to your `.vimrc`:

```vim
call jspretmpl#register_tag('pug', 'pug')
autocmd FileType javascript JsPreTmpl
autocmd FileType typescript JsPreTmpl
```

## License

MIT