Skip to content

Commit 6f5ea6e

Browse files
committed
Keep the other solution too.
1 parent 6b45562 commit 6f5ea6e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,10 @@ Additional snippets can be added to the current buffer with the
7373
`:UltiSnipsAddFiletypes` command followed by the snippet name without the
7474
"snippets" ending. For example, to add the JavaScript Jasmine snippets, run:
7575
`:UltiSnipsAddFiletypes javascript-jasmine`. To have this snippet loaded
76-
everytime a JavaScript file is opened or created you can add this command to your
77-
`.vimrc` file:
76+
everytime a JavaScript file is opened or created you can add the command to your
77+
-`.vim/ftplugin/javascript.vim` file. Another way is to add
78+
`autocmd FileType js UltiSnipsAddFiletypes javascript-jasmine` in your `.vimrc`.
7879

79-
```vim
80-
autocmd FileType js UltiSnipsAddFiletypes javascript-jasmine
81-
```
8280

8381
For more see the UltiSnips docs (`:help UltiSnips`).
8482

0 commit comments

Comments
 (0)