Commit Graph

28 Commits

Author SHA1 Message Date
protream
517dc9f8b5 snippet pmdoc: improve compatibility 2016-04-26 17:26:46 +08:00
protream
42c2b78470 snippet pmdoc: fix year generate error and make variables more readable 2016-04-19 17:30:04 +08:00
protream
3532786cd0 Python: add a snippet to generate pocoo style module doc string 2016-04-16 23:47:45 +08:00
Ricardo Jesus
0f25922960 Missed 'art'
Minor error but two '#' were missing on an header.
2016-02-13 21:43:50 +00:00
Daniel Hahler
e8b7ebb913 python: fix multiple commands on a single line; add bpdb
Otherwise style checkers will usually complain about it, and e.g.
'flake8' cannot be made to ignore it with '# noqa' at the end.

I also adds the "bpdb" snippet, and only defines them in the snipmate
format, not UltiSnips'.
Therefore "ipy" is only available as "iem" now.
Ref: https://github.com/honza/vim-snippets/pull/675#issuecomment-176840647
2016-01-30 14:43:06 +01:00
yvhn
45ef7b6425 Add "ipy" snippet to embed IPython shell into the code 2015-11-21 15:18:02 +02:00
Ralph-Wang
e018ff16cf add style jedi 2015-09-30 15:36:21 +08:00
Erich Heine
1d61b86ab7 Enhance python with snippet for UltiSnips
* the `with` snippet in UltiSnips now contains a VISUAL element
* The `as` keyword portion of a with statement now uses python
  interpolation to determine presence
2015-09-23 13:58:12 -05:00
dzikie drożdże
b3bfe4df7d pep-3110 2015-09-07 17:28:59 +02:00
Audrius Kažukauskas
6c1bf5e71d python: Allow to set triple quote style separately 2015-07-25 16:45:15 +03:00
Roland Sommer
2a8f1b6295 UltiSnips/python: Honour quoting config for ifmain snippet 2015-07-23 14:29:08 +02:00
Holger Rapp
35a6a738ad Merge pull request #576 from jwkvam/numpy-style
Python: add numpy docstring style.
2015-07-20 15:29:36 +02:00
Holger Rapp
ebaac41a4b Merge pull request #596 from tevino/python
recommended python encoding declaration
2015-07-13 07:51:17 +02:00
Paulo Romeira
356ebb88a6 Fix some python snippets tabstops 2015-07-10 04:06:53 -03:00
Paulo Romeira
39a4a3922f Set new tab triggers to try-catch blocks 2015-07-10 03:30:40 -03:00
Paulo Romeira
60084929e4 Add visual placeholders to python snippets 2015-07-10 03:23:52 -03:00
Tevin Zhang
f1e014e259 recommended python encoding declaration 2015-07-09 12:11:22 +08:00
Jacques Kvam
cd34c3accb add numpy style 2015-05-07 16:04:52 -07:00
Daniel Hahler
1bb849e284 Add snippets ', " and doc
`'` and `"` use a new function `triple_quotes_handle_trailing` which
handles trailing/existing quotes.

This handles expansion of`"|"`, where the second quote gets automatically
inserted by e.g. delimitMate.
2014-10-20 08:31:14 +02:00
Daniel Hahler
3514b3cb44 Use actual value for SINGLE_QUOTES/DOUBLE_QUOTES 2014-10-08 15:23:05 +02:00
Vadim Khohlov
f298510733 Added docstring; removed empty line 2014-10-05 00:25:28 +03:00
Vadim Khohlov
2bffc46ecb Python: added snippets for classmethod and staticmethod 2014-10-02 14:02:26 +03:00
X4fyr
1d5ccd6f3f Changed @todo to TODO 2014-08-23 01:13:56 +02:00
Pascal
c6983fcd6a Add python test snippets for assertIsNone and assertIsNotNone 2014-07-25 10:59:07 -04:00
gfixler
16630a5c8e Fix spelling throughout UltiSnips/python.snippets 2014-03-22 22:33:17 -07:00
Ryan Pineo
391d4fea47 Add python google style docstrings. 2014-03-22 15:03:16 -04:00
Holger Rapp
59dcc2b72d Brings current UltiSnips snippets into the repository. 2014-03-04 09:17:27 +01: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