guns
7cd4434a99
Evaluate word boundaries with Vim, not r'\b'
...
Certain non ALGOL-derived languages (notably LISP derivatives) do not
share the alphanumeric + underscore definition of a word character.
Fortunately, each language FileType has its own definition of a word
character, which Vim's regex engine uses when matching against the
boundary classes \< and \>.
We change the word matching routine of 'w' snippets to use Vim's regex
engine instead of a static pattern.
2013-12-23 16:34:45 -06:00
Holger Rapp
331eae1529
Feature: a option for converting into ASCII before transforming. Patch by rgiot.
2013-10-23 08:16:59 +02:00
Holger Rapp
ef2c657721
Merge branch 'master' of git://github.com/rgiot/ultisnips into rgiot-master
2013-10-21 06:30:38 +02:00
Romain Giot
9e813c7f3e
Improve the documentation
2013-10-19 15:26:44 +02:00
Holger Rapp
0b8c95645f
Improvements to the docs by fehlerfix.
2013-10-18 11:43:10 +02:00
Romain Giot
2bf3d10884
Add a documentation to the 'a' flag
2013-10-07 09:48:34 +02:00
Holger Rapp
ced4f76db8
There are more than two functions now.
2013-09-10 06:29:02 +02:00
Holger Rapp
cd83608df3
Pass <s-tab> through to supertab.
2013-07-16 07:05:42 +02:00
Holger Rapp
3b2eb436b7
Buffer local overwrite for snippet directory. Patch by jszakmeister.
2013-06-19 08:00:52 +02:00
Holger Rapp
5d6f72949d
Added UltiSnips_SnippetsInCurrentScope(). Patch by Jorge (skeept)
2013-06-10 18:27:48 +02:00
Holger Rapp
b272949b51
Improvements to the puppet snippets by Nikola Petrov.
2013-05-17 06:57:22 +02:00
Holger Rapp
064dfac638
Fold markers snippets in all.snippets. Patch by Von Welch.
2013-05-17 06:43:46 +02:00
Holger Rapp
015c78cba2
ipdb snippet.
2013-04-24 07:05:16 +02:00
Holger Rapp
3479a918bd
Puppet style fixes by JHaals
2013-04-22 19:45:54 +02:00
Holger Rapp
4cc1996f6c
Improvements to the tex snippets by rene vergara.
2013-04-22 07:22:38 +02:00
Holger Rapp
61291ecd83
Completion for UltiSnipsEdit. Patch by Zhao Cai.
2013-04-21 17:18:14 +02:00
Holger Rapp
40af7c8480
Fixes to eruby snippets by jinzhu.
2013-04-17 06:52:50 +02:00
Holger Rapp
2049a50c35
if, ife and ifee snippets for python by Josh Strater.
2013-04-17 06:50:40 +02:00
Holger Rapp
997294adc5
Small fixes and new c-sharp (cs) snippets by Matthew Strawbridge.
2013-04-15 07:19:07 +02:00
Holger Rapp
9333a5112b
Enhancements to shell code intepolation: Try hard to find a directory where we actually can execute something. Patch by Keith Welch.
2013-04-12 06:55:37 +02:00
Holger Rapp
969b3a0164
Fixes to puppet snippets by javipolo.
2013-04-12 06:45:29 +02:00
Holger Rapp
c9bd9e96ee
Fixed * -> |.
2013-04-01 16:20:24 +02:00
Holger Rapp
79b4baa3ac
Added a section about other plugins UltiSnips plays well with and linked to Stanislav's work.
2013-03-25 09:07:49 +01:00
Holger Rapp
68361f3ca3
OCaml snippets by Rudi Grinberg.
2013-03-25 08:58:55 +01:00
Holger Rapp
7b41b188f1
Improvements to Javascript snippets by Vangelis Tsoumenis
2013-03-21 11:54:20 +01:00
Holger Rapp
7320873e04
Improvements to xml snippets by jhradilek
2013-03-21 11:35:31 +01:00
Holger Rapp
584bee0ab1
Improvements to the syntax file.
2013-03-21 11:32:17 +01:00
Holger Rapp
f698f33811
C snippet improvements by melko.
2013-02-21 09:17:11 +01:00
Holger Rapp
7cbf73e729
Improvements to the box snippet by Sergey Alexandrov
2013-02-21 09:15:11 +01:00
Melko
adcc2f79dd
Add contributor name.
2013-02-20 11:24:40 +01:00
Holger Rapp
7be6694232
Improvements to c.snippets by melko.
2013-02-20 09:45:37 +01:00
Holger Rapp
831b3460ca
Easy access to UltiSnips python modules. Patch by Stanislav Golovanov.
2013-02-18 20:41:54 +01:00
Stanislav Golovanov
1269fd26e4
add python module path to global variable
2013-02-08 21:57:29 +04:00
Holger Rapp
5abca2654c
Correct commentstring for snippet files by Mike Morearty
2013-01-27 17:38:49 +01:00
Holger Rapp
f0e4d061d8
Improvements to JS snippets by tom cammann
2013-01-27 17:35:04 +01:00
Holger Rapp
d4bda4f95f
Improvements to the js snippets by Harry Xu.
2013-01-25 08:27:41 +01:00
Holger Rapp
d8b60f2f05
Improvements to c and cpp snippets by David Brown.
2013-01-24 07:28:32 +01:00
Holger Rapp
eb2fbfa74f
Merged doc updates by Matt Patterson and added him to the list of contributors.
2013-01-22 07:03:06 +01:00
Matt Patterson
24ff376166
Improve documentation for dotted filetypes
...
Address incorrect documentation of behaviour with snippet matching
for files using Vim's dotted filetypes
Add note warning against using dotted filetype notation in
snippet filenames
2013-01-21 11:52:45 +01:00
Holger Rapp
9806e7acf3
Added b4winckler to the list of contributors.
2013-01-17 09:45:04 +01:00
Holger Rapp
bf375682b3
Fixed a problem with supertab, sparkup and ultisnips. Patch by Eric Van Dewoestine.
2013-01-02 18:49:21 +01:00
Holger Rapp
9db85644bd
updated github url in doc.
2012-12-20 21:08:38 +01:00
Holger Rapp
faa348d686
Perl improvements by Steven Humphrey
2012-12-20 20:47:35 +01:00
Holger Rapp
69c95f537d
Added Pedro to the list of contributors.
2012-12-17 11:03:02 +01:00
Aaron Schrab
3a4991fb32
Add option for stripping of trailing whitespace
...
Add "s" snippet option which, if set, will cause trailing whitespace to
be stripped from lines before jumping to the next tab stop.
When used with a snippet like the following this will allow the text
from the $1 tabstop to be removed and have the space in front of that
automatically deleted when the user jumps to $2. This will work even if
using the same key for snippet expansion and jumping to the next
tabstop, whereas if the space was manually removed the key would cause
the snippet to be expanded again.
snippet do "do block" s
do `!p snip.rv = "|" if t[1] else""`${1:args}`!p snip.rv = "|" if t[1] else""`
$2
end
$0
endsnippet
2012-11-24 13:25:29 -05:00
Holger Rapp
54d917ddd4
Fixes and improvements to snipmate conversion util by Steve McKinney
2012-11-24 10:32:00 +01:00
Øystein Walle
a599a6ee6a
Add Øystein Walle to contributors list
2012-11-08 07:40:18 +01:00
Holger Rapp
39f9d77fe3
Improvements to C snippets by Vivien Didelot
2012-11-02 12:46:19 +01:00
Holger Rapp
629ff849ec
New D-snippets from Ferdinand Majerech
2012-11-01 18:34:42 +01:00
Holger Rapp
30fac27e9d
Improved documentation a bit.
2012-10-25 07:18:27 +02:00