From dfa7c2c0f9bf0ff740dd8f72a21c67247a84c284 Mon Sep 17 00:00:00 2001 From: Tyler Cinnamon Date: Sun, 4 Oct 2020 17:40:58 -0500 Subject: [PATCH] Suggest vim syntax support --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 5d6e989..0425e71 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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