Commit Graph

887 Commits

Author SHA1 Message Date
Sokovikov
47870e954d console.warn js snippet 2016-10-01 19:38:23 +04:00
Louis Pilfold
4b28763d20 Elixir with snippets 2016-09-29 20:36:56 +01:00
Andre Walker
b468a4374f Actually, Filename() here is not necessary 2016-09-13 16:58:28 +02:00
Andre Walker
2eeff06b3e Suggest a better default for Perl package names
The previous snippet for Perl 'package' was apparently copy-pasted from
html.snippets (see 'head' and 'title' snippets). It didn't really make
sense, and for me it actually always returned an empty string.

This one looks for the path name of the file and removes everything up
to the lib/ folder. It then replaces '/' with '::'. I think it's a
pretty sensible default.

Finally, I also added "use strict" and "use warnings" to the package
definition.
2016-09-13 15:30:13 +02:00
Louis Pilfold
1d86e2e1c6 LFE snippets 2016-09-09 18:20:10 +01:00
Steve Brown
1fc0e9c43d extended html in snippets/eruby 2016-08-31 13:00:03 +09:00
Louis Pilfold
ea6d5c9bb2 Merge pull request #772 from vkhv/master
Added 'display flex' snip.
2016-08-22 16:36:30 +01:00
Vladislav Khvostov
c9c237cc6c Added display flex snip. 2016-08-22 17:07:14 +03:00
Arvind
af01563f66 Rename CPP inc snippet to prevent name collision with C inc snippet 2016-08-08 09:35:37 +05:30
robin
1a7f5f9051 Fix Filename call, use vim-snippets implementation
Current code breaks in Ultisnips
2016-07-29 20:27:14 +05:30
Louis Pilfold
600215a447 Elixir describe snippet 2016-07-29 13:06:07 +01:00
robin
78b123a2f5 Add support for VHDL 2016-07-29 11:42:33 +05:30
binaryplease
4809c1750d added println snipped for go 2016-07-26 21:14:00 +02:00
bounceme
f4c2004d12 Update javascript.snippets 2016-07-25 02:50:24 -07:00
bounceme
e19ccebe27 alternate iife in old format 2016-07-25 00:34:57 -07:00
Louis Pilfold
d285c86221 Merge pull request #759 from codeinabox/php-strict-typing
Strict typed snippets for PHP getters
2016-07-06 15:58:31 +01:00
Austin Wood
d26a13e8ed
Add self-closing tags to void elements 2016-07-01 23:07:33 -07:00
Mathew Attlee
fff3ae4061 Strict typed snippets for PHP getters that check declare(strict_types=1) or for g:ultisnips_php_scalar_types=1 2016-06-29 22:27:30 +01:00
Louis Pilfold
15d7e5ec26 Merge pull request #726 from psychomario/master
add visual interpolation to tex snippets
2016-06-22 13:52:50 +01:00
Louis Pilfold
86d5bb58b1 Merge pull request #755 from codeinabox/php-getter-setter
Refactored PHP getter and setter snippets to have consistent triggers
2016-06-20 09:07:08 +01:00
Josh Vandergrift
7d4913e0c1 Add support for HTML snippets in *.html.eex files 2016-06-18 11:04:59 -07:00
Mathew Attlee
e016f1f78f Refactored PHP getter and setter snippets to have consistent triggers 2016-06-17 15:18:04 +01:00
Louis Pilfold
1d9d0413fc Merge pull request #748 from wildskyf/patch-1
Create sass.snippets
2016-06-17 09:30:58 +01:00
Mathew Attlee
09068dc107 Fixed PHP snippets for sbscalar and snbscalar, refactored gs 2016-06-16 19:27:02 +01:00
Louis Pilfold
e840b91a4e Merge pull request #751 from mcepl/diso
Add snippet generating ISO-formatted date
2016-06-09 11:17:37 +01:00
Matěj Cepl
a65f3096b5 Add snippet generating ISO-formatted date
I am a big fan of the ISO date+time format, because it is our only hope
to overcome endless mess which are current zillion non-sensical national
formats.
2016-06-09 11:02:09 +02:00
Louis Pilfold
5225b54948 JS Mocha snippets 2016-06-08 20:22:16 +01:00
Wildsky Fann
ad04e1d415 Create sass.snippets
This file is from scss.snippets without parentheses
2016-06-06 23:54:38 +08:00
Louis Pilfold
641ccbefc5 Elm type snippets 2016-06-01 21:11:40 +01:00
Louis Pilfold
f1ca95f112 Correct Elm fn type syntax 2016-06-01 20:56:21 +01:00
Louis Pilfold
2d4032cc28 Elixir behaviour snippet 2016-05-29 20:52:07 +01:00
Mathew Attlee
f79462e9ec Consolidated PHP snippets and removed UltiSnips duplicates 2016-05-29 12:51:19 +01:00
Louis Pilfold
317155e9eb Elm if and let snippets 2016-05-28 01:42:42 +01:00
Louis Pilfold
40d6b45a71 Elm case snippets 2016-05-27 22:43:08 +01:00
Louis Pilfold
8db9cc10b0 Elm snippets 2016-05-27 22:25:24 +01:00
Mathew Attlee
c2cb84db11 Removed redundant UltiSnips for Twig 2016-05-27 14:20:58 +01:00
Louis Pilfold
74a5b6962d Merge pull request #743 from codeinabox/phpunit-tidy
Tidied up and consolidated snippets for PHPUnit
2016-05-27 13:27:25 +01:00
Mathew Attlee
120ead2c37 Tidied up and consolidated snippets for PHPUnit 2016-05-27 13:18:16 +01:00
Louis Pilfold
ff64f4d90a Elixir: ExUnit async by default 2016-05-26 23:57:34 +01:00
Louis Pilfold
353b7fafa5 Merge pull request #739 from codeinabox/mustache
if, ife and ifn snippets for Mustache
2016-05-25 10:56:57 +01:00
Mathew Attlee
55213060ad if, ife and ifn snippets for Mustache 2016-05-25 08:41:01 +01:00
Louis Pilfold
477ede1985 Erlang EUnit snippets 2016-05-24 12:52:57 +01:00
Mathew Attlee
30fd9083db Corrected typo in description for self-documented Makefile snippet 2016-05-23 12:16:36 +01:00
Louis Pilfold
f6d0b68e47 Merge pull request #736 from codeinabox/makefile-help
Snippet for `help` target for self-documented Makefile
2016-05-17 15:35:04 +01:00
Mathew Attlee
c7f4b0a7f7 Snippet for help target for self-documented Makefile 2016-05-17 15:29:01 +01:00
Harald Wartig
efab1575ed Add snippet for # frozen_string_literal: true
See https://wyeworks.com/blog/2015/12/1/immutable-strings-in-ruby-2-dot-3 for a detailed description of the frozen_string_literal comment.
2016-05-16 09:55:26 +02:00
Gueunet Charles
6bf0288d5d Add coma at the end of lambda snippets 2016-05-15 22:52:35 +02:00
Mathew Attlee
0a9c97439c Makefile snippets for if, ife and el and .DEFAULT_GOAL 2016-05-12 16:03:26 +01:00
Mathew Attlee
b2dda36fc7 Correctly indented snipMate template for Twig 2016-05-06 12:29:42 +01:00
Mathew Attlee
e8cb8d0165 PHP and Twig conditional snippets to be consistent with naming convention: if, ife, eif, el, wh 2016-05-05 14:23:12 +01:00