Skip to content

Commit

Permalink
Keep the other solution too.
Browse files Browse the repository at this point in the history
  • Loading branch information
IonicaBizau committed Mar 4, 2016
1 parent 6b45562 commit 6f5ea6e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`).

Expand Down

0 comments on commit 6f5ea6e

Please sign in to comment.