Commit Graph

4 Commits

Author SHA1 Message Date
Holger Rapp
2eb82d127b Moving towards Snippet providers.
Removed parsing responsibilities from SnippetManager and instead put
them into the new module providers. Renamed private methods on
SnippetManager that are not meant to be called by external libraries to
start with _. Refactored tests so that expected failures can be tested
and therefore removed the testing flag from SnippetManager.
2014-02-15 00:54:04 +01:00
Holger Rapp
a9d946135f Removed an unused Vim function. 2014-02-14 23:58:44 +01:00
Holger Rapp
c137922918 Create UltiSnips.UltiSnips_Manager in all cases.
If a python module tried to load UltiSnips without the autoload file
being run first, UltiSnips_Manager was not defined. This broke YCM and
maybe others too. This fixes
https://github.com/Valloric/YouCompleteMe/issues/820.
2014-02-13 21:24:58 +01:00
Holger Rapp
82ca377aaf Moved the core of the plugin into autoload. This will not really impact loading times because UltiSnips is loaded on the first CursorMovedI command anyways, but it might fix some issues with --noplugin. 2014-02-11 07:56:56 +01:00