Commit graph

723 commits

Author SHA1 Message Date
Kevin van Rooijen
b391ba50d5 Added useful Elixir snippets 2016-08-04 15:20:38 +03:00
Noam Postavsky
b7b1a9f482 Avoids warnings when compiling
* c++-mode/.yas-setup.el: Require yasnippet.
2016-08-03 18:59:44 -04:00
Andrea Crotti
9fb8141e50 Merge pull request #154 from bandresen/master
rust-mode: bug fix, consistency clean up + spawn addition
2016-08-02 10:20:28 +01:00
Andrea Crotti
53d5afd115 Merge pull request #155 from strburst/unset-executable-snippets
Fix Emacs Lisp snippets being executable
2016-08-02 10:19:27 +01:00
Allen Zheng
7ca2a64ed2 Fix Emacs Lisp snippets being executable
Since snippets aren't executable files, the executable bit shouldn't be
set. Interestingly, the Emacs Lisp snippets have been executable since
they were imported from the yasnippet repo in commit
5600362497.

The only effect of this commit will be to help prevent people from
accidentally executing the Emacs Lisp snippets and being dissappointed.
2016-08-01 15:46:47 -07:00
Benjamin Andresen
e6971ff7fd rust-mode: bug fix, consistency clean up + spawn 2016-08-01 19:50:56 +02:00
Andrea Crotti
c9ef59e2ed Merge pull request #149 from chenhong805/master
added insert in sql-mode
2016-08-01 18:06:54 +01:00
Andrea Crotti
88b771ecb8 Merge pull request #153 from bandresen/master
add rust-mode snippets
2016-08-01 16:59:50 +01:00
Benjamin Andresen
a343f3cd53 initial rust-mode snippets 2016-08-01 17:48:50 +02:00
Andrea Crotti
4e2ec80e7d Merge pull request #152 from sshaw/master
Add include & Enumerable Snippet for Ruby
2016-07-20 14:45:36 +01:00
Andrea Crotti
468635e2f5 Merge pull request #148 from marcanuy/python-subclass
added python subclass snippet 🐍
2016-07-09 12:39:45 +01:00
sshaw
f784057106 Add Enumerable snippet for Ruby 2016-07-02 21:58:56 -04:00
sshaw
62e7e62828 Add include snippet for Ruby 2016-07-02 21:58:34 -04:00
Jinhong Chen
4864a84dbc added insert in sql-mode 2016-06-21 12:22:00 -04:00
Marcelo Canina
d8faf09bf1 added python subclass snippet 🐍 2016-06-06 18:04:34 -03:00
Andrea Crotti
9ce0b05f4b Merge pull request #144 from robbyoconnor/master
add plantuml snippet
2016-06-06 12:16:49 +01:00
Andrea Crotti
a6dfd42e49 Merge pull request #147 from jccode/master
Add snippets to rst-mode
2016-06-04 19:15:43 +01:00
Robert O'Connor
8c4da9e08b add plantuml snippet 2016-06-03 20:44:21 -04:00
jcchen
538f3e41c1 Rename snippets 2016-06-04 08:12:59 +08:00
Andrea Crotti
6c9cd8acb2 all is not used so much to have a one-letter expansion, would be more
suited for assert already for example
2016-06-03 10:15:32 +01:00
Andrea Crotti
95865dd3f7 Merge pull request #146 from josteink/master
Add foreach snippet for C#.
2016-06-03 10:06:04 +01:00
jc
29726b8e9d Add snippets to rst-mode 2016-06-02 17:16:49 +08:00
Jostein Kjønigsen
d5fcbb8cbc Add foreach snippet for C#. 2016-06-02 10:11:16 +02:00
Andrea Crotti
46e2a9b231 Merge pull request #143 from Yuki-Inoue/sh-mode-while-loop
sh-mode while-loop
2016-05-20 19:45:12 +01:00
Yuki Inoue
0d24fcbd72 sh-mode while-loop 2016-05-16 18:09:23 +00:00
Andrea Crotti
f3eae690c7 Merge pull request #142 from toogley/master
complete template for article and moderncv class | safer bash settings
2016-05-09 23:05:51 +01:00
Andrea Crotti
c975e0e8c4 Merge pull request #138 from vedvyas/c++-mode/class11
Add snippet for C++11 classes
2016-05-09 23:02:53 +01:00
Ved Vyas
692d215d5d c++-mode/class11: move some code to functions in .yas-setup.el
See AndreaCrotti/yasnippet-snippets#138
2016-05-09 17:26:37 -04:00
Ved Vyas
e504574f4c c++-mode/class11: turn Doxygen comments into placeholder fields
See AndreaCrotti/yasnippet-snippets#138
2016-05-09 17:23:51 -04:00
toogley
e97267835a
bash: added snippet for safer bash settings
Explanation:

set -e          # fail if any command has non-zero exit status
set -u          # fail if unbound variables are used
set -o pipefail # fail if command in a pipe isn't successful
IFS=$'\n\t'     # wordsplitting will happen only on \n and \t, not on spaces
                # => would otherwise break "My Song.mp3" or "Benjamin Franklin"

source: http://redsymbol.net/articles/unofficial-bash-strict-mode/
2016-05-09 17:09:41 +02:00
toogley
820063647e
latex: added complete template for moderncv class 2016-05-09 17:09:41 +02:00
toogley
5333ee4a52
latex: added complete template for article class 2016-05-09 17:09:36 +02:00
Andrea Crotti
58db008654 Merge pull request #141 from erickgnavar/master
Add elixir IEx.pry snippet
2016-05-04 22:41:09 +01:00
Andrea Crotti
4c7046bfe0 Merge pull request #140 from fice-t/warning
Remove compiler warning
2016-05-04 22:40:55 +01:00
Andrea Crotti
1216a90c64 Merge pull request #132 from magnetophon/nix-mode-fixup
nix-mode package_url: escape $ and { in name
2016-05-04 22:40:12 +01:00
Andrea Crotti
3c040cf0e2 Merge pull request #136 from patbl/ruby--module-replace-all-underscores
Ruby: Replace all file-name underscores when creating module name.
2016-05-04 22:39:13 +01:00
Andrea Crotti
74e9f62f7c Merge pull request #137 from toogley/master
latex: added documentclass and moderncv snippets
2016-05-04 22:38:22 +01:00
Erick Navarro
941fa4f3c5 Add elixir IEx.pry snippet 2016-05-04 16:29:16 -05:00
toogley
2469daefd8
latex: added moderncv snippets 2016-05-01 18:56:54 +02:00
toogley
f3fe714796
latex: add documentclass snippet 2016-05-01 18:56:51 +02:00
Fice T
6f97e7c1de Remove compiler warning
Makes sure yas-text is defined during byte compilation.
2016-04-29 13:33:46 -06:00
Ved Vyas
4e570643a5 Simplify c++mode/class11 by removing some operators 2016-04-26 15:20:38 -04:00
Ved Vyas
eccbcb6b89 Fix regexp replace mentioned in description of c++mode/class11 2016-04-26 14:20:37 -04:00
Ved Vyas
ffbcc445e6 Put c++-mode/class11 in c++11 group 2016-04-26 14:04:01 -04:00
Ved Vyas
34ca7c816d Add snippet for C++11 classes 2016-04-26 14:02:04 -04:00
Patrick Brinich-Langlois
6e32472de9 Ruby: Replace all file-name underscores when creating module name.
The previous implementation replaced only the first.
2016-04-21 13:22:18 -07:00
sh-ow
00530f9dd5 prog-mode: another indentation fix 2016-04-14 01:32:18 +02:00
sh-ow
4c0e664618 prog-mode: fix indendation in .yas-setup.el 2016-04-14 01:16:08 +02:00
sh-ow
e2409dd612 prog-mode: rename yas-get-comment-xxx functions, different approach for whitespace trim 2016-04-14 00:59:31 +02:00
sh-ow
9b30fe4123 don't use reverse function on string 2016-04-14 00:14:47 +02:00