From 6f5ea6e6d49a1eb8b162cc5348ee6e6b00446bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionic=C4=83=20Biz=C4=83u?= Date: Fri, 4 Mar 2016 16:04:19 +0200 Subject: [PATCH] Keep the other solution too. --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4e91006..d4e83c3 100644 --- a/README.md +++ b/README.md @@ -73,12 +73,10 @@ Additional snippets can be added to the current buffer with the `:UltiSnipsAddFiletypes` command followed by the snippet name without the "snippets" ending. For example, to add the JavaScript Jasmine snippets, run: `:UltiSnipsAddFiletypes javascript-jasmine`. To have this snippet loaded -everytime a JavaScript file is opened or created you can add this command to your -`.vimrc` file: +everytime a JavaScript file is opened or created you can add the command to your + -`.vim/ftplugin/javascript.vim` file. Another way is to add + `autocmd FileType js UltiSnipsAddFiletypes javascript-jasmine` in your `.vimrc`. -```vim -autocmd FileType js UltiSnipsAddFiletypes javascript-jasmine -``` For more see the UltiSnips docs (`:help UltiSnips`).