RyanSquared
6d2a2b81cd
doc/UltiSnips.txt: Add ToC link to snippet options
2017-06-29 18:54:58 -05:00
Stanislav Seletskiy
6b187827e2
Merge pull request #864 from J3soon/fix_visual
...
Fix selecting one more character when using ${VISUAL}.
2017-06-27 18:06:43 +07:00
Johnson
b9f4438aeb
Fix selecting one more character when using ${VISUAL} on Windows.
2017-06-24 02:14:46 +08:00
Stanislav Seletskiy
113a901f41
Merge pull request #860 from jpfender/fix-not-tag
...
Fix emphasis in doc file that created a tag
2017-06-13 20:59:33 +07:00
Jakob Pfender
a94293614f
fix emphasis in doc file that created a tag
...
Emphasizing 'not' as '*not*' causes :helptags to generate a tag called
'not'. Because people like writing '*not*' in their documentations, this
can cause duplicate ta conflicts with other plugins (e.g. Command-T's
doc also generates a 'not' tag).
2017-06-13 13:51:54 +12:00
Stanislav Seletskiy
5352d98f21
fix unicode decode error with f-keys in py3
2017-01-20 16:35:07 +07:00
Stanislav Seletskiy
7f7058d8ce
#691 , #812 : fix unicode compat with py3
2017-01-20 16:26:28 +07:00
Stanislav Seletskiy
69574e7760
address issue #691 : ignore non-unicode at all
2017-01-20 14:13:05 +07:00
Stanislav Seletskiy
9dd41b92f5
address issue #691 : try to fix non-utf encoding
2017-01-20 13:31:10 +07:00
Stanislav Seletskiy
f974e0317f
fix autotrigger on backspace
2016-12-16 12:10:07 +07:00
Stanislav Seletskiy
9a670c502b
make <CR> start autotrigger
2016-11-15 14:42:40 +07:00
Stanislav Seletskiy
71c39721de
Merge pull request #775 from rubencabrera/master
...
Update documentation
2016-10-24 12:54:29 +07:00
Rubén
ba5deae853
Update documentation
...
The UltiSnipsSnippetsDir must be a string, the brackets raise an AttributeError because lists don't have the startswith method.
2016-10-21 12:47:36 +02:00
Stanislav Seletskiy
f66f3d8b95
Merge pull request #753 from mgedmin/fix-unicode-error-on-py3
...
Use vim.bindeval() to avoid Unicode problems
2016-10-21 14:23:35 +07:00
Marius Gedminas
9c39aa1bbd
Only use vim.bindeval() if it exists
2016-09-20 11:53:17 +03:00
Marius Gedminas
2098788e69
Use vim.bindeval() to avoid Unicode problems
...
Fixes #690 .
2016-09-20 11:53:17 +03:00
Stanislav Seletskiy
97a280417b
Merge pull request #754 from mgedmin/fix-version-check
...
Fix Vim version checks in tests
2016-09-19 17:55:34 +07:00
Marius Gedminas
b48d3ca2ab
Fix Vim version checks in tests
...
has_patch(214) is meaningless if you don't pay attention to the
major/minor version: 7.4.214 != 8.0.214.
2016-09-16 23:48:54 +03:00
Stanislav Seletskiy
7549874758
change mercurial to git
2016-09-07 19:51:30 +07:00
Daniel Hahler
8d77e89d65
Improve/simplify filetype handling for buffers ( #745 )
...
* Improve/simplify filetype handling for buffers
There is no need to have a FileType autocmd anymore, which for some odd
reason even had to be in "ftdetect"?!
Now it will just use the `&filetype` property from buffers, instead of
updating it on FileType events.
This allows for easier lazy-loading of UltiSnips; without this patch it
would not have updated the list of filetypes for the buffer after just
being triggered (e.g. through NeoBundle's lazy-loading).
I am using the following currently:
NeoBundleLazy 'SirVer/ultisnips', {
\ 'on_funcs': ['UltiSnips#ExpandSnippetOrJump']}
inoremap <silent> <c-j> <C-R>=UltiSnips#ExpandSnippetOrJump()<cr>
By manually defining the mapping for the trigger, I can invoke it and
NeoBundle will trigger the loading of the plugin.
2016-09-07 19:51:16 +07:00
Stanislav Seletskiy
dfde9b0032
Merge pull request #747 from noscript/master
...
syntax fix for subdirs
2016-09-07 18:46:37 +07:00
Sergey Vlasov
b6ef2333b4
syntax fix for subdirs
2016-09-07 11:17:52 +03:00
Stanislav Seletskiy
ff10513cdd
Merge pull request #735 from SolaWing/FixVisualRange
...
fix visual placeholder multi call
2016-08-16 11:37:35 +07:00
solawing
b7fcce30e0
fix visual placeholder multi call
2016-08-13 11:32:10 +08:00
Stanislav Seletskiy
b4c7a5788a
Merge pull request #730 from tweekmonster/django-plus
...
Add support for django-plus.vim
2016-08-05 13:05:21 +07:00
Tommy Allen
104e571c4a
Allow file type to be passed into UltiSnips#FileTypeChanged()
2016-08-04 12:36:03 -04:00
Stanislav Seletskiy
e8c485eb3c
Merge pull request #720 from thalesmello/master
...
Include examples about how to create postfix snippets
2016-07-07 12:10:24 +05:00
thalesmello
6a7843bcb3
Include examples about how to create postfix
...
Postfix snippets are an incredibly useful feature in IntelliJ IDE's.
Only recently I came to realize this [could be implemented with UltiSnippets](https://github.com/sniphpets/sniphpets-postfix-codes/blob/master/UltiSnips/php.snippets ).
I think it would be a nice addition to the UltiSnippets documentation, in the hopes it could help others spend less time than I did trying to figure out how to put it together.
2016-07-07 03:19:02 -03:00
Stanislav Seletskiy
1c6b4f75a0
fix 107: error, introduced in 47d343d
2016-05-16 09:32:05 +06:00
Stanislav Seletskiy
b5edea2e99
examples: add link to vim-pythonx lib
2016-05-08 03:14:59 +06:00
Stanislav Seletskiy
b1a707d675
examples: autojump demo
2016-05-08 03:09:33 +06:00
Stanislav Seletskiy
0cf51055fc
README.md: link to seletskiy and new article
2016-05-06 11:15:34 +06:00
Stanislav Seletskiy
d37fda1240
minor typo fix
2016-05-06 11:14:12 +06:00
Stanislav Seletskiy
ae01893c85
article about tabstop generation
2016-05-06 11:09:22 +06:00
Stanislav Seletskiy
3c420ed63f
README.md: fix link to demo.gif
2016-04-28 10:55:39 +06:00
Stanislav Seletskiy
9306fdc6d0
README.md: start examples section
2016-04-28 10:53:48 +06:00
Stanislav Seletskiy
aaa89bf0d6
actions: do not break cursor on single line change
2016-04-27 22:29:50 +06:00
Stanislav Seletskiy
6cd168c5b4
print errors in regexp triggers
2016-04-27 20:26:40 +06:00
Stanislav Seletskiy
8250d33bca
Merge pull request #686 from kovetskiy/ultisnipsedit
...
UltiSnipsEdit should try to find non-empty snippet files
2016-04-18 12:05:58 +06:00
Egor Kovetskiy
eb7240ff7d
UltiSnipsEdit look for non empty files in snippets directories
2016-04-14 13:31:49 +06:00
Stanislav Seletskiy
4c71935cba
Merge pull request #684 from kovetskiy/master
...
allow specify context using special header
2016-04-14 13:31:01 +06:00
Egor Kovetskiy
47d343d5c4
highlight context syntax as python code
2016-04-13 17:50:38 +06:00
Egor Kovetskiy
2e62906c33
allow specify context using special header
2016-04-13 17:37:58 +06:00
Stanislav Seletskiy
5d4094b2bb
quick and dirty fix tests for vanilla vim
2016-04-13 17:28:17 +06:00
Stanislav Seletskiy
ea8094c506
syntax: treat python in context/actions as string
...
However, highlight it as python code. It's required for some tools,
which are based on syntax files to run actions.
2016-04-01 15:27:31 +06:00
Stanislav Seletskiy
61df32722b
syntax highlighting: fix context highlighting
2016-03-29 21:26:21 +06:00
Stanislav Seletskiy
3a3e56a987
grant access to visual to context and actions
...
Grants access to:
* context match condition for context snippets (via snip.visual_text and
snip.visual_mode);
* pre/post actions (via same variable);
* context match condition to (!) lastly selected placeholder, so it is
possible now to use autotrigger snippets, that are activated by
simply typing letter while tabstop is selected;
* python interpolations to lastly selected placeholder;
2016-03-29 21:25:27 +06:00
Stanislav Seletskiy
059c9a9da2
Merge pull request #679 from SirVer/overwrite-tabstops-from-py-interpolation
...
Overwrite tabstops from py interpolation
2016-03-29 21:18:25 +06:00
Stanislav Seletskiy
23a6ec87cd
Merge pull request #663 from kmarius/fix-transformation
...
Fix escapes in conditional tabstob transformation
2016-03-29 21:17:41 +06:00
marius
8fdfde1905
Fix escapes in conditional tabstob transformation
...
check if the delimiters :, (, and ) are actually escaped, not
only if the previous char is a backslash
2016-03-28 11:18:33 +02:00