Christian Neumüller
71e770a4d9
rst: Replace xrange() by Python 3 compatible range().
2014-07-26 13:09:34 +02:00
Christian Neumüller
5eaa61ae27
rst: Make has_cjk() Python 3 compatible.
...
In Python 3, iterators no longer have a next() method: it has been renamed to
__next__(). This could be worked around by using the builtin function next(),
but a simpler fix is to just use the regex' object search() method instead of
finditer().
2014-07-26 11:38:30 +02:00
Christian
3dcb2900b2
rst: Remove comment about requiring Python 2.4+.
...
Ultisnips needs 2.6, so this is save.
2014-07-03 20:40:09 +02:00
Christian
bb35409199
Fix and improve rst_char_len
...
The previously used regex was plainly wrong (see #394 ). This solution should be more solid.
2014-07-03 12:52:40 +02:00
Holger Rapp
4b9f18c531
Add a common pythonx directory containing helper methods for snippets.
2014-04-13 10:24:56 +02:00
Holger Rapp
59dcc2b72d
Brings current UltiSnips snippets into the repository.
2014-03-04 09:17:27 +01:00
Meng Zhuo
92eb5c6363
CMT update li comment
2013-06-26 13:57:08 +08:00
Meng Zhuo
9ab873b6ea
A docstring
...
C change img/inc/fig snippet into id
U update em/st with CJK detection
2013-06-26 09:48:50 +08:00
Meng Zhuo
8e1e176998
update fig/inc/img
2013-06-21 14:55:09 +08:00
Meng Zhuo
ab4daaf4ce
change blocks into sa
2013-06-20 16:21:04 +08:00
Meng Zhuo
317dddc096
add docstring
2013-06-20 15:40:12 +08:00
Meng Zhuo
ab97140f5d
get python code together
2013-06-20 11:31:41 +08:00
Meng Zhuo
6ac725a309
fix CJK lens
2013-06-20 11:29:44 +08:00
Meng Zhuo
d666cfc6a5
add usage for enumberic items
2013-06-20 10:27:05 +08:00
Meng Zhuo
382ad016d3
set a proper name to function
2013-06-20 10:15:00 +08:00
Meng Zhuo
1c80d84e9c
fix Out of Code detetction indexerror
2013-06-19 18:12:12 +08:00
Meng Zhuo
d41ca9e656
add rst auto complie most common code type
2013-06-19 18:08:51 +08:00
Meng Zhuo
f2e535fd94
add emphasize
2013-06-19 17:37:01 +08:00
Meng Zhuo
af19fb1d85
update UltiSnips/rst.snippets
2013-06-19 15:35:26 +08:00
Marc Weber
d07009f27f
Adding UltiSnips snippets, updating Readme
...
UltiSnips snippets are taken from UltiSnips repo.
Putting them nearby the engine seems to be the wrong thing to do.
One reason is that there are two forks now.
2013-03-17 20:13:47 +01:00