Commit Graph

10 Commits

Author SHA1 Message Date
Holger Rapp
ac7fc9b569 Fix fold* snippets. 2015-10-11 14:03:37 +02:00
Holger Rapp
2d64dabfd1 Make _parse_comments use &commentstring before &comments.
Also refactor and move python code from all.snippets into python file.

Fixes #629.
2015-10-07 16:23:00 +02:00
mMontu
a83b3db1b3 Fix bbox outside the first column (consider &tw) 2015-03-12 10:04:30 -03:00
Holger Rapp
0deb4bd28b Fix #435. 2015-02-07 09:52:48 +01:00
Marcelo D Montu
6a679df97f Fix box and bbox snippets outside the first column 2014-12-19 15:00:31 -02:00
pydave
2f20b96a50 Add vim modeline snippets
Add an 'all' and a 'help' snippet for vim modelines.

The 'all' snippet implements the advice in tabstop's docs about setting
softtabstop when using noexpandtab what other variables (expandtab,
shiftwidth, and tabstop) to set. It sets these variables to their
current values.

Vim supports two forms of modelines, but only the second (that includes
the 'set') works in languages with comment terminators (/* like C */).

The 'help' snippet uses exactly what vim help files use (including the
leading space -- I expect users will insert the modeline at the start of
a line).

Does some unnecessary interpolation ('set' and 'vim') to prevent vim
from interpreting the snippet definition as a modeline for the snippets
file.
2014-08-01 09:31:13 -07:00
Holger Rapp
929aceebb7 Adjusted priority again. 2014-03-05 06:44:16 +01:00
Holger Rapp
39fe0b562b Adjusted priority. 2014-03-04 17:46:35 +01: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