Commit Graph

1332 Commits

Author SHA1 Message Date
Holger Rapp
c9699feed1 Fix docs: "'" has no special meaning in snippets.
Fixes #565.
2015-11-02 09:10:02 +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
Stanislav Seletskiy
1356560f9a fix blumba test 2015-08-03 14:41:25 +06:00
Stanislav Seletskiy
5af229abc0 add error handling 2015-08-03 14:41:25 +06:00
Stanislav Seletskiy
f80414fac5 prototype of autotrigger 2015-08-03 14:41:25 +06:00
Holger Rapp
7c74aa7686 Merge pull request #537 from krisdages/master
Pipe-quoting helptag reference to UltiSnips-context-snippets

[no-ci]
2015-08-01 09:40:10 +02:00
Kris Dages
cc43d1251a Pipe-quoting helptag reference to UltiSnips-context-snippets 2015-07-31 10:46:02 -05:00
Holger Rapp
c12867d1b9 Merge support for snippet-actions.
See *UltiSnips-snippet-actions*.
2015-07-31 15:32:10 +02:00
Stanislav Seletskiy
5638cdf4a2 review fix for == 2015-07-29 20:08:49 +06:00
Stanislav Seletskiy
c3add0bef4 fix neovim tests 2015-07-29 20:08:49 +06:00