Commit Graph

270 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
Stanislav Seletskiy
76ebfec3cf autotrigger: make snippets expand without <tab> 2015-10-09 16:00:24 +06:00
Eric Douglas
e603117f66 Fix Tabstops and Placeholders index 2015-09-14 12:27:16 -03: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
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
14ea90385b tests and docs 2015-08-03 14:41:25 +06:00
Kris Dages
cc43d1251a Pipe-quoting helptag reference to UltiSnips-context-snippets 2015-07-31 10:46:02 -05:00
Stanislav Seletskiy
175e3ba521 fix doc 80 chars limit 2015-07-29 20:08:49 +06:00
Stanislav Seletskiy
ba774c39ca review fixes 2015-07-29 20:08:49 +06:00
Stanislav Seletskiy
972305725f fix expan_anon in pre-action, snip object, fixes 2015-07-29 20:08:49 +06:00
Stanislav Seletskiy
1ca82f76f7 pre/post-expand and post-jump actions 2015-07-29 20:08:34 +06:00
Holger Rapp
5c211b0e79 Clear up pathogen installation instructions.
Closes #535.
2015-07-27 09:22:05 +02:00
Holger Rapp
7f64510a7e Link to the Vimcasts about UltiSnips.
[ci skip]
2015-07-18 18:05:36 +02:00
Holger Rapp
992e094638 Add a warning about changing the buffer in autocommands. 2015-07-13 07:14:54 +02:00
Greg Hurrell
c4ee3ecf10 Fire autocommands when setting up and tearing down inner state
It can be useful to set up mappings that apply only during expansion of
a snippet. UltiSnips does this internally with the `_setup_inner_state`
and `_teardown_inner_state` methods.

This commit adds some `User` autocommands so that users of UltiSnips can
set up their own mappings and tear them down at the same time as
`_setup_inner_state` and `_teardown_inner_state`.

This is particularly useful for people who are writing their own
expansion and jump functions using `UltiSnips#JumpForwards` and
`UltiSnips#ExpandSnippet()` and friends. Here's an example from my own
dotfiles:

- 0664b627e7
- 3740c248ee

Using this approach I've been able to get rid of Supertab and have a
more nuanced autocompletion experience that works exactly as I'd like
with YouCompleteMe.
2015-07-13 07:11:39 +02:00
Holger Rapp
33db8b4ab0 Update pathogen installation instructions.
Fixes #501.
2015-07-11 18:48:44 +02:00
Holger Rapp
3806a69874 Fix improper use of augroup in ftdetect. 2015-06-01 21:12:19 +02:00
Holger Rapp
ab1cc1afac Remove documentation for using the same trigger for jump and expand. 2015-05-01 14:36:41 +02:00
Holger Rapp
d6098193ef Merge pull request #446 from seletskiy/context-snippets
New feature: Context-aware snippets
2015-05-01 14:35:19 +02:00
Stanislav Seletskiy
2f355c233f another little fix in documentation 2015-04-29 22:25:21 +06:00
Stanislav Seletskiy
1b3ecf4a85 priority test, docs & fmt fixes 2015-04-27 15:42:21 +06:00
Stanislav Seletskiy
904fbdecf5 review fixes 2015-04-25 21:38:22 +06:00
Stanislav Seletskiy
709f8dc93f minor doc fix and new cursor variable 2015-04-19 11:08:14 +06:00
Stanislav Seletskiy
9861a6e6c3 typo fix in docs 2015-04-19 11:08:14 +06:00
Stanislav Seletskiy
66bc2e8f6e documentation, pull-requests fixes 2015-04-19 11:08:14 +06:00
Holger Rapp
00848d7d64 Merge pull request #483 from cwahbong/master
Update document for zero tabstop.
2015-04-18 22:45:04 +02:00
Holger Rapp
99eede1bf6 Started to test py2 and py3 on travis now.
I also learned that Vim 7.3 does not seem to be working at all anymore.
Fixes a bug that only happens with python3.
2015-04-18 17:15:05 +02:00
cwahbong
bf20bc6f66 Update document for zero tabstop. 2015-04-15 20:58:26 +08:00
kawing.chiu
71a8fdec58 Add contributor to doc. 2015-04-12 22:34:06 +08:00
Holger Rapp
09876e0084 Support for m (trim) snippet option. 2015-02-14 14:20:03 +01:00
Holger Rapp
e041187669 Do not try to remap the keymaps if langnoremap is available and set. 2015-02-14 10:44:48 +01:00
Stanislav Seletskiy
81a628c6ea Add option 'm' for trimming whitespaces in snippet
Fix #391
2015-02-04 11:55:28 +06:00
Stanislav Seletskiy
b47e686521 do not walk &rtp if abs path to snips specified 2015-01-21 17:57:33 +06:00
Holger Rapp
e1436a8aeb Accept numbers and text for disabling snipMate. 2015-01-15 08:17:37 +01:00
Holger Rapp
d240aa24df Added Pyrohh to the list of contributors. 2015-01-04 22:23:24 +01:00
Holger Rapp
7df82bbe53 Merge pull request #415 from seletskiy/toggle-snipmate
add g:UltiSnipsEnableSnipMate
2014-12-20 18:39:50 +01:00
Stanislav Seletskiy
fc080b4fd5 add g:UltiSnipsEnableSnipMate 2014-12-18 12:05:52 +06:00
Joe Lencioni
bbb07646a3 Fix typo "endglobals" in documentation
I was working on some snippets and looking at the documentation and
noticed a typo. "endglobals" should be "endglobal".
2014-12-02 09:39:50 -08:00
Tim Hofmann
185f96c4db Fix list of trigger functions in documentation 2014-11-30 16:20:18 -05:00
ibabarovic
d9691a9125 Added a terminal emulator warning line for using c-tab combo with usnips 2014-11-24 17:32:10 +01:00
Holger Rapp
1ad970379e Support for sw=0 in newer Vim versions. 2014-10-11 15:23:34 +02:00
Glenn Griffin
e3abd6678f Added test case for shiftwidth=0 and added myself to contributors list. 2014-10-08 10:30:40 -07:00
Daniel Hahler
14e5b4638b doc: add tags for trigger vars 2014-10-08 15:08:33 +02:00
petobens
2c3c4a7776 Add 'context' value to g:UltiSnipsEditSplit 2014-08-28 09:34:33 -03:00
Holger Rapp
279d6e63c9 Updates the doc for the new clearsnippets behavior. Slight rewording by me. 2014-08-02 14:59:42 +02:00
cwahbong
a9aa8c76a7 Update document for priority based clearsnippets. 2014-08-01 11:33:04 +08:00
Holger Rapp
9521b942b0 Merge pull request #340 from cwahbong/test-fix
Never rely on waiting for Vim to finish something, instead make it write a file.
2014-07-23 06:55:17 +02:00
cwahbong
0872600b9e Ahbong is contributer now. 2014-07-22 15:28:02 +08:00