Holger Rapp
04ef0f8f5c
Merged unite source by Skeept.
2014-04-15 08:19:23 +02:00
Holger Rapp
c21016573b
All mappings should be 'silent'.
2014-04-13 10:03:41 +02:00
Daniel Hahler
210304884a
Define all/other dummy functions used in autocommands
2014-04-09 19:32:26 +02:00
Daniel Hahler
7da9dbe2af
Add UltiSnipsFileType augroup and unset it if UltiSnips is disabled
2014-04-09 19:31:00 +02:00
Daniel Hahler
3208654c4e
Do not map keys if 'g:_uspy' could not be set
2014-04-09 19:30:00 +02:00
Daniel Hahler
c57c717e33
Delete autocommands when Bootstrap failed
...
When bootstrapping fails to setup `g:_uspy` (e.g. without Python),
the functions used in the autocommands are not being defined.
Since it makes no sense to have autocommands defined for UltiSnips in this
case, this patch deletes them (via a new augroup 'UltiSnips').
2014-04-09 19:04:30 +02:00
Daniel Hahler
2ad6ad4493
Fix E168: :finish used outside of a sourced file
2014-04-09 19:04:08 +02:00
Helder Jorge Rodrigues Inacio
cc15145429
add unite source
2014-03-31 21:44:31 -04:00
Holger Rapp
f40c3ac5e0
Made UltiSnipsEdit! more consistent with multiple filetypes.
2014-03-15 15:55:03 +01:00
Holger Rapp
5ac0436694
Retry unmapping when we switched buffers.
...
Fixes #229 .
2014-03-14 20:35:14 +01:00
Holger Rapp
6398a598b5
Made UltiSnipsEdit more useful and consistent.
...
It now by default only edits private files, add a ! if you want to edit
non private files.
2014-03-06 09:10:48 +01:00
Holger Rapp
ba2f30fdf9
Adapted neosnippets source. Examples by petobens.
2014-03-06 06:47:55 +01:00
Holger Rapp
1ce706e3a9
Adapted neocomplete integration.
2014-03-05 08:55:16 +01:00
Holger Rapp
c017806b1d
Added preliminary support for neocomplete.
...
Patch by lervag. Closes #228
2014-03-05 08:14:53 +01:00
Holger Rapp
48dcaa02bc
Attempted fix at several startup problems.
2014-02-20 14:32:28 +01:00
Holger Rapp
2d18d53656
Change initialization to make session work.
...
Fixes #216 .
2014-02-20 11:06:45 +01:00
Holger Rapp
cecc7aad88
Fixed a typo that might make problems when there is no python available.
2014-02-19 22:54:37 +01:00
Holger Rapp
c1b41d0fbf
Adds 'priority' keyword and removes '!' option.
2014-02-19 21:04:52 +01:00
Holger Rapp
5d06271736
autoload/ultisnips -> autoload/UltiSnips
...
Fixes #214 .
2014-02-17 09:20:15 +01:00
Holger Rapp
a949fc606e
Remove no longer needed loading of vim script from python.
2014-02-17 08:52:10 +01:00
Holger Rapp
ba772b0d14
after script maps Keys again. Needed some refactorings. This fixes supertab integration and closes #212 .
2014-02-17 08:15:04 +01:00
Holger Rapp
e7868dd4fb
Removed undocumented and untested g:UltiSnipsClearJumpTrigger.
2014-02-16 14:02:06 +01:00
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