vim-snippets/snippets
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
..
coffee Fix indentation 2014-09-10 09:33:47 -05:00
javascript Update javascript.snippets 2016-07-25 02:50:24 -07:00
_.snippets Add snippet generating ISO-formatted date 2016-06-09 11:02:09 +02:00
actionscript.snippets Actionscript: remove duplicate warning for statement 2014-11-06 13:12:19 +02:00
ada.snippets remove duplicate license snippets 2015-01-17 17:10:08 +01:00
apache.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
arduino.snippets Fix arduino snippets 2015-05-31 23:15:12 +01:00
autoit.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
awk.snippets add AWK snippets 2015-01-17 17:11:20 +01:00
c.snippets Add comment ending ifndef block to ifndef c snippet 2015-11-04 16:35:52 +01:00
chef.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
clojure.snippets Clojure: Move trailing )s onto previous line 2014-12-13 14:20:16 +00:00
cmake.snippets Convert cmake.snippets to lower case. 2016-01-05 00:08:23 +13:00
codeigniter.snippets Fixed ->table attribute access 2015-04-28 17:23:45 +02:00
cpp.snippets Rename CPP inc snippet to prevent name collision with C inc snippet 2016-08-08 09:35:37 +05:30
cs.snippets Fix broken C sharp snippets 2015-05-30 18:38:26 +01:00
css.snippets CSS pseudo elements & classes 2014-06-09 10:46:15 +01:00
d.snippets added snippets/d.snippets 2014-08-11 12:23:41 -04:00
dart.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
diff.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
django.snippets Fixed #335 - django snippet fix model save method 2014-04-08 09:35:15 -03:00
dosini.snippets Add snippet for editorconfig 2013-09-11 11:46:02 +08:00
eelixir.snippets Add support for HTML snippets in *.html.eex files 2016-06-18 11:04:59 -07:00
elixir.snippets Elixir describe snippet 2016-07-29 13:06:07 +01:00
elm.snippets Elm type snippets 2016-06-01 21:11:40 +01:00
erlang.snippets Erlang EUnit snippets 2016-05-24 12:52:57 +01:00
eruby.snippets extended html in snippets/eruby 2016-08-31 13:00:03 +09:00
falcon.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
fortran.snippets Fortran snippets finished 2014-12-14 03:34:23 +02:00
go.snippets added println snipped for go 2016-07-26 21:14:00 +02:00
haml.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
haskell.snippets Haskell: Fix typo 2015-11-28 23:12:08 +00:00
html.snippets Add self-closing tags to void elements 2016-07-01 23:07:33 -07:00
htmldjango.snippets Revert "Deleted htmldjango.snippets (from now jinja.snippets)" 2016-01-04 10:58:36 +00:00
htmltornado.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
jade.snippets Added Jade templates 2014-03-24 03:29:41 +00:00
java.snippets java: prinlna to print array 2015-04-13 23:56:04 +02:00
javascript-mocha.snippets JS Mocha snippets 2016-06-08 20:22:16 +01:00
jinja.snippets Added Jinja2 snippets (copy of htmldjango.snippets) 2015-12-30 20:10:59 +01:00
jsp.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
julia.snippets Added ternary operator snippet 2014-06-23 12:37:17 +02:00
laravel.snippets Fix test & laravel snippets 2015-06-08 15:16:01 +01:00
ledger.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
lfe.snippets LFE snippets 2016-09-09 18:20:10 +01:00
ls.snippets Added livescript str snippet 2013-08-09 15:41:50 +02:00
lua.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
make.snippets Corrected typo in description for self-documented Makefile snippet 2016-05-23 12:16:36 +01:00
mako.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
markdown.snippets Merge pull request #511 from cirosantilli/fix-list-hyphen 2015-01-26 07:14:53 +01:00
mustache.snippets if, ife and ifn snippets for Mustache 2016-05-25 08:41:01 +01:00
objc.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
openfoam.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
perl6.snippets Update perl6.snippets shebang 2015-12-08 04:30:35 +03:00
perl.snippets Suggest a better default for Perl package names 2016-09-13 15:30:13 +02:00
php.snippets 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
plsql.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
po.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
processing.snippets Fix a wrong snippet in processing 2013-09-25 02:21:11 +09:00
progress.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
puppet.snippets fix case of 'Desc' attribute in puppet/yumrepo snippet 2015-08-17 12:37:07 +02:00
python.snippets python: fix multiple commands on a single line; add bpdb 2016-01-30 14:43:06 +01:00
r.snippets Indentation missing. 2014-05-05 17:37:31 +02:00
rails.snippets Infer migration class name 2016-02-19 14:52:13 +01:00
rst.snippets add 'doc' for Sphinx 2015-08-04 22:46:18 +09:00
ruby.snippets Add snippet for # frozen_string_literal: true 2016-05-16 09:55:26 +02:00
rust.snippets Rust: remove semicolons from constructor returns 2016-03-09 13:34:44 +02:00
sass.snippets Create sass.snippets 2016-06-06 23:54:38 +08:00
scala.snippets Scala: Tests add missing }, use === in assert 2014-11-03 11:31:22 +00:00
scheme.snippets Add Scheme snippets 2014-05-01 11:45:06 +05:30
scss.snippets SCSS extends CSS snippets 2015-09-21 15:13:23 -07:00
sh.snippets make default settings for bash more reliable 2016-03-20 20:19:08 +01:00
simplemvcf.snippets Added simple mvc framework snippets 2015-09-28 00:30:53 +02:00
slim.snippets Add to slim snippets 2016-01-15 10:47:25 +00:00
snippets.snippets ${1:text} snippets snippet 2014-10-23 10:32:11 +01:00
sql.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
stylus.snippets Added display flex snip. 2016-08-22 17:07:14 +03:00
supercollider.snippets Supercollider synthedef 2015-10-11 11:40:49 +01:00
systemverilog.snippets Add verilog snippets and refactor systemverilog removing duplicates 2015-12-29 15:59:18 +01:00
tcl.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
tex.snippets add visual interpolation to tex snippets 2016-05-04 10:48:24 +01:00
textile.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
twig.snippets Removed redundant UltiSnips for Twig 2016-05-27 14:20:58 +01:00
verilog.snippets Add verilog snippets and refactor systemverilog removing duplicates 2015-12-29 15:59:18 +01:00
vhdl.snippets Fix Filename call, use vim-snippets implementation 2016-07-29 20:27:14 +05:30
vim.snippets add snippet descriptions 2014-05-06 14:50:22 +02:00
xml.snippets removed empty lines between snippets 2015-12-02 11:39:04 -05:00
xslt.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
yii-chtml.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
yii.snippets Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
zsh.snippets Changed zsh snippet for function 2014-09-11 13:48:54 +09:00