Commit Graph

317 Commits

Author SHA1 Message Date
Holger Rapp
c8fe2f4b02 Added a syntax file by Timo Schmiade. Made sure all shipped files are recognized as snippets, even when ftdetect is not in /Users/sirver 2011-02-17 14:07:27 +01:00
Holger Rapp
3f7bfeec1b ft should be snippets not snippet 2011-02-17 14:00:45 +01:00
Holger Rapp
e730eeff0e Added a small notice about contribution to the README 2011-02-17 13:59:40 +01:00
Holger Rapp
528759dbcc Fixed a typo in the documentation 2011-02-17 12:37:08 +01:00
Holger Rapp
be07baf2a8 Handle the case when vim was not compiled with the langmap option 2011-02-16 13:38:51 +01:00
Holger Rapp
a4242d65f7 Fixed a map with select mode unmapping 2011-02-13 19:34:21 +01:00
Holger Rapp
95e54271be Updated Changelog 2011-02-12 12:32:29 +01:00
Holger Rapp
489a9ad8d4 Small fixes from Ryan 2011-02-06 22:18:09 +01:00
rygwdn@gmail.com
386e0a6a9b Return true from expand_anon if the snippet was actually expanded. 2011-02-04 20:09:28 -04:00
rygwdn@gmail.com
30738b2176 Use faster, cleaner method for modifying the path. 2011-02-04 20:02:30 -04:00
Holger Rapp
29eb9dca69 Erlang snippets from g0rdin 2011-01-12 13:19:19 +01:00
g0rdin
ad3a3d7242 tweaked receive snippet for erlang 2011-01-10 02:07:59 +01:00
g0rdin
06b6aeba34 Added useful snippets to erlang snippets 2011-01-08 23:20:07 +01:00
g0rdin
89522d1ad2 Added snippets for erlang (grabbed from TextMate bundles) 2011-01-08 22:25:28 +01:00
Holger Rapp
4930e21663 Merged anonymous snippets feature from Ryan 2010-12-21 13:25:35 +01:00
rygwdn@gmail.com
92f979dcc8 Added documentation for the new functions 2010-12-20 22:49:55 -04:00
rygwdn@gmail.com
1e068f102a Add test to ensure that anon snippets aren't added to the list of snippets. 2010-12-18 13:59:00 -04:00
rygwdn@gmail.com
98b396ff24 Fixes Bug #427676.
- Adds the idea of anonymous snippets with new method on SnippetManager to expand a snippet without adding it.
- Adds two new functions for adding new snippets, and expanding anonymous snippets.
- Adds tests for the above functionality.
2010-12-18 13:07:46 -04:00
Holger Rapp
8c71d10ad2 Merged Ryans Bug fix 2010-12-18 12:15:31 +01:00
rygwdn@gmail.com
b065b5cf30 Fixes Bug #691575.
Deals with the case where there are multiple matches on the line. Tries all
matches until one fits!
2010-12-17 22:38:56 -04:00
Holger Rapp
3310ccb41d Added eruby and rails snippets from Ches Martin 2010-12-06 14:27:33 +01:00
Holger Rapp
6e7f848f29 applied Ryan's fix for proper vimlike indenting 2010-11-23 14:06:37 +01:00
rygwdn@gmail.com
fbb339d03e add option to not expand tabs in snippet 2010-11-22 10:14:47 -04:00
rygwdn@gmail.com
eff5ec2c66 use shiftwidth again as per bug comments 2010-11-22 09:59:06 -04:00
rygwdn@gmail.com
9464f0c99c better name for 'tab' attribute, and expand to tabstops, rather inserting 'ts' spaces 2010-11-18 14:00:36 -04:00
rygwdn@gmail.com
23924c3249 use sts instead of sw for initial tabs 2010-11-18 13:30:07 -04:00
rygwdn@gmail.com
c20c76be71 Fixes bug #676998.
- Adds a new module for handling indentation to bring everything together.
- Uses shiftwidth to replace initial tabs in snippets, this is closer to
  what you would get if you were to type the snippet out by hand.
- Replaces code in SnippetUtil with common class.
- Replaces the code in launch() with the common class to properly, and
  consistently indent the lines.
- Changes the tests to use shiftwidth instead of tabstop as per the bug.
- Fixes the indentation in python snippets to use tabs instead of spaces.
2010-11-18 12:58:15 -04:00
Holger Rapp
a7a3de7d8c Fixes from Ryan 2010-11-17 15:37:12 +01:00
rygwdn@gmail.com
2fe73f0926 add ability to have newlines before braces in java snippets 2010-11-16 17:01:39 -04:00
rygwdn@gmail.com
65a282c58d fix whitespace in c/cpp snippets 2010-11-16 17:00:51 -04:00
rygwdn@gmail.com
d74c3f697b fixes bug with trailing whitespace 2010-11-16 15:32:28 -04:00
Holger Rapp
5630899b26 Added rupa deadwyler 2010-11-13 11:25:01 +01:00
Holger Rapp
8329008b10 recognize .snippets files 2010-11-13 00:10:31 +01:00
Holger Rapp
16d6335ab1 Small correction for ref snippet in tex 2010-11-13 00:07:03 +01:00
rupa
49f4d35d80 recognize .snippets files 2010-11-12 17:29:26 -05:00
Holger Rapp
b9c48763c5 Removed unneeded import statement 2010-09-23 10:50:51 +02:00
Holger Rapp
13331a8aba Fixed a bug if a snippet contains folding markers. Call normal zv (show current line) after each insertion 2010-09-23 10:49:39 +02:00
Holger Rapp
76a8d7b2a5 Updated ChangeLog 2010-09-22 13:04:59 +02:00
Holger Rapp
c095147fa1 Added commands UltiSnipsReset and UltiSnipsEdit by JCEB 2010-09-22 13:01:04 +02:00
Holger Rapp
54a2350646 Added a codeblock snippet 2010-09-11 14:29:55 +02:00
Holger Rapp
c74e8b0612 Added a nice begin/end snippet. Triggered with b or begin 2010-09-03 17:04:46 +02:00
Holger Rapp
14da7e5bf9 Fixed a small typo 2010-08-22 13:57:19 +02:00
Holger Rapp
05c09d746a Merged my fixes for the bug Ryan brought up 2010-08-21 13:10:47 +02:00
Holger Rapp
09939c2921 Fixed the bug again 2010-08-21 13:07:54 +02:00
Holger Rapp
5340bb174e New failing tests 2010-08-21 12:06:03 +02:00
Holger Rapp
00656a2bb7 Merged my fix for bug 427298 2010-08-20 10:30:33 +02:00
Holger Rapp
29704145a3 Updated ChangeLog 2010-08-20 10:22:00 +02:00
Holger Rapp
58b562b58b Added documentation about smap unmapping 2010-08-20 10:20:22 +02:00
Holger Rapp
243e93312e Whitespace fixes in help doc 2010-08-20 10:04:55 +02:00
Holger Rapp
fb8be85865 Removed the Roadmap from the help docs since it is constantly outdated 2010-08-20 10:03:09 +02:00