Commit Graph

68 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
e730eeff0e Added a small notice about contribution to the README 2011-02-17 13:59:40 +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
3310ccb41d Added eruby and rails snippets from Ches Martin 2010-12-06 14:27:33 +01: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
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
Holger Rapp
16d6335ab1 Small correction for ref snippet in tex 2010-11-13 00:07:03 +01: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
782836636d Fixed a bug in the c snippets that came from the new multiword triggers 2010-08-18 13:02:03 +02:00
rygwdn@gmail.com
514d9d1bd7 updated some snippets to use new global and locals features. 2010-08-17 00:58:44 -03:00
Holger Rapp
3d0de8b22d Updated README. All snippets are now cleaned up 2010-08-15 14:36:17 +02:00
Holger Rapp
a2e07d15e1 Cleaned up JavaScript snippets 2010-08-15 14:35:14 +02:00
Holger Rapp
26abb41bfa Removed Ruby snippets. I do not know enough of this language to clean those snippets up. Please contribute some. 2010-08-15 14:23:46 +02:00
Holger Rapp
a6c0cdef7f Cleaned up objective C snippets 2010-08-15 14:22:49 +02:00
Holger Rapp
6bcbc40d5d Cleaned CSS snippets up. 2010-08-15 13:53:05 +02:00
rygwdn@gmail.com
e9e3c3bb0e minor fix for python snippets. 2010-08-09 09:09:38 -03:00
rygwdn@gmail.com
64debe1231 fixed lorem ipsum snippet, and upgraded "self." snippet. 2010-08-09 07:31:20 -03:00
rygwdn@gmail.com
462b9cdf77 updated deprecation messages, and updated (and documented) the way
"snip.rv" works.
2010-07-30 21:54:51 -03:00
rygwdn@gmail.com
897cca031e Added option to use doxygen style comments in smart def and smart class. 2010-07-30 21:47:36 -03:00
rygwdn@gmail.com
f88076636e Updated snippets to use new "snip" object. 2010-07-30 21:29:40 -03:00
rygwdn@gmail.com
41441c40a0 added example of using snip for snippet-local data 2010-05-16 21:53:52 -03:00
rygwdn@gmail.com
67d1b65aa7 removed another extra print, and fixed some comments 2010-05-16 21:38:55 -03:00
rygwdn@gmail.com
513a635c51 use a helper object, rather than replacing 'res', also provide 'snippet-local' variables 2010-05-16 19:34:44 -03:00
rygwdn@gmail.com
e8125051d3 Added PythonResult class to handle indentation, etc automatically. Modified my python snippets to use it. 2010-05-16 15:22:16 -03:00
rygwdn@gmail.com
52be5df6ef Shortened the variable name, and added documentation. 2010-05-16 02:19:55 -03:00
rygwdn@gmail.com
8f7cdb9c69 added new 'smart def' and 'smart class' for python using new indent info 2010-05-16 02:08:46 -03:00
Holger Rapp
ee1b3aa29b Python, smart def by Alec Thomas 2010-03-05 14:37:28 +01:00
Holger Rapp
1ad7a791d9 Trivial change to get tags removed 2010-01-25 16:34:59 +01:00
Holger Rapp
af0ff03b82 Trivial change to get tags removed 2010-01-25 16:34:10 +01:00
Holger Rapp
a3acc40b96 Fixed a type in tex snippets 2010-01-20 17:38:37 +01:00
Holger Rapp
683266071c Added some snippets for REST 2009-11-10 11:07:23 +01:00
Holger Rapp
df7c03cac7 Added lorem ipsum text 2009-09-23 11:42:14 +02:00
Holger Rapp
3871db14f2 Added snippets for lr( and lr| in tex mode 2009-09-17 13:03:13 +02:00
Holger Rapp
995404e2f0 Fixed typo. Reported by m.d. 2009-08-30 19:50:58 +02:00
Holger Rapp
f6de9346ba Cleaned up java snippets 2009-08-17 17:29:06 +02:00
Holger Rapp
405521caad Cleaned up TCL snippets 2009-08-16 20:58:08 +02:00
Holger Rapp
cd0b859b62 Implemented i option (inword snippet expansion) along the line of the patch by jceb, also added his test cases 2009-08-16 16:34:54 +02:00
Holger Rapp
43e60ebd57 Added support for extends keyword. With this it is simple to make inheritance trees of snippets for file types 2009-08-02 11:57:43 +02:00
Holger Rapp
4d550b4b90 Small cleanup in tm_objc. Not completed 2009-08-01 11:27:22 +02:00
Holger Rapp
ac163993a9 Fixed expandtabs. Was broken at the beginning of the line. Now it is broken in the middle of the line 2009-07-30 08:08:36 +02:00
Holger Rapp
51f462bbde Replaced space indent through tab indent in snippets. This is more logical now that expandtab is adhered to 2009-07-29 22:46:11 +02:00
Holger Rapp
22804a2cbb Cleaned up HTML snippets 2009-07-29 19:29:28 +02:00
Holger Rapp
39fdc55a58 Unified hdr to #! 2009-07-24 16:43:32 +02:00
Holger Rapp
8c7c82dafd Added img link 2009-07-24 16:42:16 +02:00
Holger Rapp
a76165c147 Fixed a backslash in printf and fprintf snippets 2009-07-21 18:03:39 +02:00
Holger Rapp
d0a50ae9d2 Made trigger keys configurable. Added support for setting forward jump and expand to the same key 2009-07-21 10:21:05 +02:00