Commit Graph

708 Commits

Author SHA1 Message Date
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
Holger Rapp
5aac3f5836 Implemented a fix for select mode mappings along the lines of the suggestions by Ryan. Added tests. Documentation is still missing 2010-08-20 09:32:12 +02:00
Holger Rapp
511915de69 Updated ChangeLog 2010-08-19 14:16:38 +02:00
Holger Rapp
b5fe29bc0f Fixed a TODO and removed some which do not seem to be reasonable at this point in time 2010-08-19 14:02:03 +02:00
Holger Rapp
1771f77d9a Merged my fix for bug 616315 2010-08-19 13:54:25 +02:00
Holger Rapp
e557c8751e All tests pass 2010-08-19 13:52:12 +02:00
Holger Rapp
686bacb7a2 All TrailingNewline tests pass now. Others broke though 2010-08-19 13:35:06 +02:00
Holger Rapp
d2190f95ff First test passes, have not broken anything yet 2010-08-19 12:32:45 +02:00
Holger Rapp
6ba2c53ffc Added the test cases. Only commented the easiest in so far 2010-08-19 10:26:10 +02:00
Holger Rapp
782836636d Fixed a bug in the c snippets that came from the new multiword triggers 2010-08-18 13:02:03 +02:00