SirVer / ultisnips

UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
GNU General Public License v3.0
7.56k stars 691 forks source link

Option to remove a filetype. The opposite of UltiSnipsAddFiletype. #792

Open tomasz13nocon opened 8 years ago

tomasz13nocon commented 8 years ago

Basically I have autocmd FileType css set filetype=html.css because I need html ctags completion with YouCompleteMe in css. But I would like to disable html snippets. So something like UltiSnipsRemoveFiletype or UltiSnipsSetFiletype would be very useful.

stellarhoof commented 6 years ago

This is also useful when Ultisnips adds snippets that we don't want to use. Ex: jasmine in a js project. Also having a leaner snippets list means better performance on every keystroke.

SirVer commented 4 years ago

Related to #1059 with a similar feature request. I voiced there my concerns that this feature is not needed enough, but now there are at least 3 people requesting it I am reconsidering.

I will likely not find a lot of time working on UltiSnips in the near future, but I'd review and merge an implementation + test.