Commit Graph

1340 Commits

Author SHA1 Message Date
Holger Rapp
9c73ce948a Fix a unicode bug in python3.
Fixes #609
2015-11-21 07:54:35 -08:00
Holger Rapp
53bf0dbd7b Merge pull request #608 from JarrodCTaylor/master
Enhancement: Align snippet names in unite source options
2015-11-17 05:22:25 -08:00
JarrodCTaylor
53571bf4f5 Refactor: More descriptive method name 2015-11-14 16:52:55 -06:00
JarrodCTaylor
1d4d8b0490 Enhancement: Align snippet names in unite source options 2015-11-14 10:25:20 -06:00
Holger Rapp
ef72df8e78 Merge pull request #603 from seletskiy/do-not-break-last-jump-on-post-expand
fix last jump $0 placeholder using post_expand
2015-11-07 14:17:06 +01:00
Holger Rapp
cba31b1912 Use new path for neovims config directory. 2015-11-07 13:34:46 +01:00
Stanislav Seletskiy
6ea78e525c fix last jump $0 placeholder using post_expand
Last jump didn't work when post_expand action modifies char next to
snippet end.
2015-11-06 16:25:28 +06:00
Holger Rapp
c9699feed1 Fix docs: "'" has no special meaning in snippets.
Fixes #565.
2015-11-02 09:10:02 +01:00
Holger Rapp
0480b2243c Adapt to changed Neovim configuration directory.
Fixes #596.
2015-11-02 06:38:15 +01:00
Holger Rapp
1ce44ac9c8 Merge pull request #592 from seletskiy/show-backtrace-on-error
Show backtrace on error in the scratch buffer.
2015-10-22 07:45:51 +02:00
Stanislav Seletskiy
08b96cbdb2 print erroneous snippet location 2015-10-21 18:02:33 +06:00
Stanislav Seletskiy
698f2d4910 print snippet information in backtrace (fix #551) 2015-10-21 14:17:10 +06:00
Stanislav Seletskiy
d03b13a684 review: add comment about snippet_code 2015-10-21 13:40:49 +06:00
Stanislav Seletskiy
47a3d18629 review fixes:
* change 'code' attr to 'snippet_code';
* change 'Executed code' header;
* code changed to for-enumerate/oneline-if idioms;
* add python stacktrace printing tests;
2015-10-21 13:35:32 +06:00
Stanislav Seletskiy
3accb5cb44 mark line number in traceback 2015-10-20 16:09:02 +06:00
Egor Kovetskiy
00e3a877d9 print executed code 2015-10-20 12:32:11 +06:00
Holger Rapp
cc6ac3c064 Exit any snippets when entering a unite buffer.
Fixes #578
2015-10-17 14:49:57 +02:00
Holger Rapp
baa9c97092 Merge pull request #589 from seletskiy/autotrigger
autotrigger: solve performance issues
2015-10-17 14:38:28 +02:00
Stanislav Seletskiy
6ad7472aac autotrigger: solve performance issues 2015-10-15 14:55:14 +06:00
Holger Rapp
fde4a066c6 Disable Neovim tests, since they do not pass. 2015-10-11 22:28:10 +02:00
Holger Rapp
30ba8155a5 NEOVIM testing is just too flaky. Let's make it optional again. 2015-10-11 19:22:16 +02:00
Holger Rapp
69b7c501a0 Merge pull request #582 from seletskiy/autotrigger
Autotrigger, take 2: make snippets expand without <tab>
2015-10-11 15:57:30 +02:00
Stanislav Seletskiy
76ebfec3cf autotrigger: make snippets expand without <tab> 2015-10-09 16:00:24 +06:00
Holger Rapp
e1e005a810 Merge pull request #575 from manishrjain/master
Fix link to Vimcasts
2015-09-20 21:23:12 +02:00
Manish R Jain
c39ffb8510 Fix link to Vimcasts 2015-09-19 07:37:56 +10:00
Holger Rapp
ef2c0d6d80 Merge pull request #573 from ericdouglas/patch-1
Fix Tabstops and Placeholders index
2015-09-15 07:13:19 +02:00
Eric Douglas
e603117f66 Fix Tabstops and Placeholders index 2015-09-14 12:27:16 -03:00
Holger Rapp
036d0d9c25 Merge pull request #570 from dueyfinster/patch-1
Fixed URL for Vimcasts in Documentation
2015-09-10 06:47:30 +02:00
Neil Grogan
74bbca2f9c Fixed URL 2015-09-09 11:09:32 +01:00
Holger Rapp
e48d8a28e5 Rollback "Merge support for auto expand."
Due to performance degradation reported in #552.

This reverts commit 490430f91d, reversing
changes made to cf2c473a8e.
2015-08-21 07:38:34 +02:00
Holger Rapp
490430f91d Merge support for auto expand. 2015-08-17 08:30:59 +02:00
Holger Rapp
8c7ce88277 Allow neovim to fail for the moment. It is flaky on travis. 2015-08-17 08:30:55 +02:00
Stanislav Seletskiy
c45867be58 add missing doc for autotrigger_only 2015-08-13 12:43:30 +06:00
Stanislav Seletskiy
9eb2de6c34 add test for vim<7.4.214 2015-08-13 12:01:11 +06:00
Stanislav Seletskiy
5a5de07349 neovim tests 2015-08-12 20:08:08 +06:00
Stanislav Seletskiy
a994e3286d fix py3 tests 2015-08-12 18:40:17 +06:00
Stanislav Seletskiy
61e06bbc18 add note about version and fix tests 2015-08-12 17:35:28 +06:00
Stanislav Seletskiy
878f79ffda review fixes 2015-08-12 17:22:15 +06:00
Stanislav Seletskiy
8ff84758a7 fix tests
Autotrigger is not supported for old versions of vim.
2015-08-12 17:06:56 +06:00
Holger Rapp
cf2c473a8e Define UltiSnips#FileTypeChanged always
This is called via ftdetect/UltiSnips.vim, and needs to be defined
also if UltiSnips fails to initialize, e.g. because of missing Python
support.
2015-08-12 06:59:04 +02:00
Holger Rapp
b968bc3e9f Merge pull request #548 from blueyed/remove-bootstrap-again
Remove autoload/UltiSnips/bootstrap.vim again
2015-08-11 07:25:28 +02:00
Daniel Hahler
5e2f58c35f Define UltiSnips#FileTypeChanged always
This is called via ftdetect/UltiSnips.vim, and needs to be defined
also if UltiSnips fails to initialize, e.g. because of missing Python
support.
2015-08-10 22:46:05 +02:00
Daniel Hahler
4a302149e8 Remove autoload/UltiSnips/bootstrap.vim again
This seems to have been re-added accidentally in 3c4ac11, after it was
removed in becab78.
2015-08-10 22:31:22 +02:00
Holger Rapp
29ad00ec0f Merge pull request #544 from wincent/fix-autocmd
Use <nomodeline> when firing user autocmds
2015-08-07 07:52:42 +02:00
Greg Hurrell
3eabbe71a3 Use <nomodeline> when firing user autocmds
As recommended by the Vim help (`:h <nomodeline>`):

    After applying the autocommands the modelines are
    processed, so that their settings overrule the
    settings from autocommands, like what happens when
    editing a file. This is skipped when the <nomodeline>
    argument is present. You probably want to use
    <nomodeline> for events that are not used when loading
    a buffer, such as |User|.

Fixes: https://github.com/SirVer/ultisnips/issues/542
2015-08-06 22:47:29 -07:00
Holger Rapp
b3cd0cae14 Merge pull request #541 from hanschen/master
Add field numbers to avoid errors in Python 2.6
2015-08-06 07:36:55 +02:00
Hans Chen
44644f1fd5 Add field numbers to avoid errors in Python 2.6 2015-08-05 10:39:19 -04:00
Holger Rapp
ffb9b79480 Do not run autocommands when using --noplugin.
Fixes #214.
2015-08-04 07:57:38 +02:00
Stanislav Seletskiy
6c4fb6f3f2 fix b->b2<BS> case, fix merge 2015-08-03 14:41:25 +06:00
Stanislav Seletskiy
14ea90385b tests and docs 2015-08-03 14:41:25 +06:00