Commit Graph

498 Commits

Author SHA1 Message Date
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
Holger Rapp
9011515686 Merged my fix for bug 501727 2010-08-18 12:54:23 +02:00
Holger Rapp
e3d9896cf2 Encapsulated the translation of the langmap including caching of results into a own object 2010-08-18 12:52:56 +02:00
Holger Rapp
1637cbef8a The only working solution is to manually reverse the langmap if possible. 2010-08-18 11:54:56 +02:00
Holger Rapp
131e5fdc04 all calls to feedkeys are now routed through one function 2010-08-18 10:24:34 +02:00
Holger Rapp
6b38c5d186 added a testcase for bug 501727 2010-08-18 10:11:29 +02:00
Holger Rapp
aede01607d Made tests more stable: repetitions are now done slower 2010-08-17 17:05:35 +02:00
Holger Rapp
564c2af59c Merged global snippets branch from Ryan 2010-08-17 13:30:59 +02:00
rygwdn@gmail.com
514d9d1bd7 updated some snippets to use new global and locals features. 2010-08-17 00:58:44 -03:00
rygwdn@gmail.com
4b85266929 Added documentation for globals, and fixed docs for locals.
Fixed error messages to match tests.
Changed endsnippet -> endglobal for global snippets.
2010-08-17 00:12:30 -03:00
rygwdn@gmail.com
e025da5cf2 Changed local variables in python code blocks to persist across blocks in a snippet.
Removed "snips.locals".
Also added ability to use file-wide "global" snippets.
Added tests for both.
2010-08-16 21:59:41 -03:00