Stanislav Seletskiy
0657e61e61
Merge pull request #643 from dNItro/master
...
Add support to do transformation on multiple lines
2016-01-27 15:45:13 +05:00
dNItro
4b27b7152d
Testcase added!
2016-01-25 04:25:15 -08:00
Stanislav Seletskiy
bdd9012eb5
Merge pull request #647 from alexlafroscia/master
...
Allow Deoplete entries to show up with existing matches
2016-01-25 09:47:10 +05:00
Alex LaFroscia
6d38cad14c
Allow Deoplete entries to show up with existing matches
...
I encountered an issue with Deoplete where Ultisnips suggestiosn wouldn't appear if there was a match in the current buffer with the same name as a Ultisnip snippet. This change allows the snippet and buffer match to appear side-by-side, which is less confusing.
More information can be found on the issue on the Deoplete repo here:
https://github.com/Shougo/deoplete.nvim/issues/138#issuecomment-174050309
2016-01-22 16:32:59 -05:00
dNItro
203218297c
More detailed documentation on multiline option
2016-01-21 03:28:19 -08:00
dNItro
8a8e183b80
Documentation on multiline option
2016-01-20 13:54:38 -08:00
dNItro
b057f633ef
Add support to do transformation on multiple lines
2016-01-20 13:51:50 -08:00
Stanislav Seletskiy
3f2c591c3b
Merge pull request #625 from chemzqm/location
...
add snippets_in_current_buffer function
2016-01-20 22:03:46 +05:00
Stanislav Seletskiy
0058e8664f
doc: add link to options for #Anon()
2016-01-13 15:55:10 +06:00
Stanislav Seletskiy
ec9b292ba4
fix typos in doc/UltiSnips.txt
2016-01-12 10:32:11 +06:00
chemzqm
52ade8fed6
doc for all param of SnippetsInCurrentScope
2016-01-12 00:37:53 +08:00
chemzqm
4e2e897de8
change g:current_ulti_dict_all to g:current_ulti_dict_info
2016-01-11 23:58:42 +08:00
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
chemzqm
6a69a44154
add all param to UltiSnips#SnippetsInCurrentScope
2015-12-28 20:01:26 +08: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