File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -73,12 +73,10 @@ Additional snippets can be added to the current buffer with the
73
73
` :UltiSnipsAddFiletypes ` command followed by the snippet name without the
74
74
"snippets" ending. For example, to add the JavaScript Jasmine snippets, run:
75
75
` :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 ` .
78
79
79
- ``` vim
80
- autocmd FileType js UltiSnipsAddFiletypes javascript-jasmine
81
- ```
82
80
83
81
For more see the UltiSnips docs (` :help UltiSnips ` ).
84
82
You can’t perform that action at this time.
0 commit comments