Commit Graph

1352 Commits

Author SHA1 Message Date
Stanislav Seletskiy
319ccddcdc Merge pull request #628 from kmarius/fix_syntax
Fix highlighting for nested visual tabstob
2016-01-11 12:21:55 +05:00
marius
9a73473e7a Fix highlighting for nested visual tabstob
Consider the snippet

snippet test
${1:${VISUAL}}
endsnippet

A missing 'extend' keyword caused the inner closing bracket to end both
the inner 'snipVisual' and the outer 'snipTabStop' regions. Anything
after the inner bracket was considered 'snipSnippetBody' and thus
highlighted incorrectly.
2015-12-30 20:57:35 +01:00
Stanislav Seletskiy
dbd43ad27c Merge pull request #624 from chemzqm/patch-1
syntax highlight for unite ultisnips
2015-12-22 12:21:16 +05:00
Qiming zhao
3a70765f40 syntax highlight for unite ultisnips 2015-12-21 22:06:16 +08:00
Stanislav Seletskiy
5a2dcc5cbf disable tests in vanilla vim for #616 2015-12-09 19:59:50 +06:00
Stanislav Seletskiy
45e3775c18 fix #616: update state on edit w/o cursor move
UltiSnips tracks changes in buffer and apply user changes only on
CursorMoved event. So, if placeholder is replaced completely by using
<BS>, CursorMoved is not triggered and internal snippet representation
is not updated, causing placeholder boundaries go out-of-sync.

Fixed by triggering text objects sync forcefully if change without
cursor move is detected.
2015-12-08 13:40:31 +06:00
Holger Rapp
1b481f312e Merge pull request #615 from SirVer/updated_changelog
Updated changelog, readme and documentation for 3.1 and change of ownership.
2015-12-05 11:30:27 +01:00
Holger Rapp
60c47e8e9d Reworked README for change of maintenance. 2015-11-28 11:44:53 +01:00
Holger Rapp
2e9f12bfd6 Fixed doc/UltiSnips.txt for change of maintainer. 2015-11-28 11:40:37 +01:00
Holger Rapp
95d6e535ec Updated ChangeLog for 3.1. 2015-11-28 11:30:21 +01:00
Holger Rapp
c5a21c5097 Merge pull request #611 from HerringtonDarkholme/deoplete
Add support for deoplete
2015-11-21 08:26:12 -08:00
Herrington Darkholme
0243746143 Add support for deoplete 2015-11-22 00:15:45 +08:00
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