Andrea Crotti
d672b1fb88
remove redundant "Class" in class snippet
2017-05-03 15:37:08 +01:00
Varun Patro
2643df40e8
Update function to remove duplicate field. ( #189 )
2017-05-01 11:56:17 +01:00
Jean-Christophe Helary
3951c2e40f
Add applescript snippets from apples-mode ( #179 )
...
* applescript snippets from apples-mode
apples-mode had snippets that were not in this repository:
https://github.com/tequilasunset/apples-mode
* add snippets to apples-mode
Add the snippets included in apples-mode to the main repository.
2017-04-30 15:13:04 +01:00
Noam Postavsky
53b664c7f9
* cc-mode/once: Don't assume buffer is visiting a file. ( #182 )
2017-04-30 15:12:14 +01:00
jlt
728de744ff
lua mode "paris" -> "pairs" typos ( #183 )
...
* fixing typos
* whoops, forgot to stage old typo deletes >.>
2017-04-30 15:09:10 +01:00
tomcraven
3119ca6830
make module name in testmod editable field ( #187 )
2017-04-30 15:02:57 +01:00
tomcraven
8a634c3b78
remove LF from several rust snippets ( #186 )
2017-04-30 15:01:17 +01:00
Noam Postavsky
e56b8838ab
Remove side-effecting expression inside backquotes ( #176 )
...
* c++-mode/cout: Remove unneeded `save-excursion'. Yasnippet already
uses `save-excursion' and the call here had no arguments which made it
a nop.
* cc-mode/case: Indent the first line by binding
`yas-also-auto-indent-first-line' instead of calling `indent-region'.
2017-03-20 22:38:11 +00:00
Noam Postavsky
b37212cc42
Don't use mirror transforms for constant expressions ( #177 )
2017-03-20 22:36:55 +00:00
Daniel Hitzel
2393b26270
Added Binding for use-package ( #178 )
...
* Added Binding for use-package
New Binding:
up -> (use-package package-name)
upb -> :bind ("keymap" . function-name)
About:
use-package allows you to isolate package configuration in your .emacs.
* Improved use-package snippet
Added ":ensure t" option to use-package snippet
2017-03-20 22:35:36 +00:00
Kevin Brubeck Unhammer
c19c5209d8
Updates to dix mode ( #172 )
...
* dix-mode: transfer clip/choose instructions
* var, when, otherwise; minor fixes to lit-tag, p
* call-macro on 'm' to avoid conflicts
2017-02-26 10:35:58 +00:00
Dmitry Zudochkin
4803611b88
Add binding.pry for ruby-mode ( #174 )
2017-02-26 10:34:34 +00:00
Noam Postavsky
50a747ed98
Use minimum indentation for python docstring ( #175 )
...
* python-mode/function_docstring: Reduce indentation to 1, because
Emacs 25+ doesn't dedent docstrings.
2017-02-26 10:32:57 +00:00
Iwan in 't Groen
d72698a4e3
Python 'new' snippet uses dict as method parameter ( #171 )
...
The python 'new' snippet uses dict as method argument which is a python built-in type.
Using it as a method argument hides the built-in type 'dict' in the method body.
2017-02-01 13:18:55 +00:00
halfcrazy
8592eac891
Add ipython embed snippet ( #169 )
...
* Add ipython embed snippet
Most time i use ipython embed to debug.
* remove embed from debug group.
2016-12-04 19:18:23 +00:00
halfcrazy
cf5b57f793
Add a collection of lua snippets ( #170 )
...
Add some snippets for lua-mode, such as do, eif, eife, if, ife, iparis,
paris, repeat, while, require
2016-12-02 15:09:18 +00:00
Dineshkumar
12b385f3ba
Additional Elixir snippets ( #166 )
...
* Additional Elixir snippets
* Delete arrow snippet
* for snippet - spaces correction
* if snippet - spaces correction
* if else - spaces correction
* Remove pipe snippet
* test sippet - fix indentation
* unless - fix indentation
2016-11-23 10:26:26 +00:00
Andrea Crotti
f65ca42fad
Merge pull request #167 from lpil/patch-1
...
Fix Elixir function placeholder text
2016-11-21 08:49:27 +00:00
Andrea Crotti
bc91111d23
Merge pull request #168 from npostavs/master
...
Replace symlinks with .yas-parents file
2016-11-21 08:44:58 +00:00
Noam Postavsky
e17f4f9389
Replace symlinks with .yas-parents file
...
When installing via the package.el, the symlinks in the tarball turn
into empty files. To work around this, use .yas-parents files to
implement the linkage instead.
2016-11-17 09:12:04 -05:00
Louis Pilfold
92b7f1253f
Fix Elixir function placeholder text
...
Elixir doesn't have methods, so I've updated this little snippet to be more accurate :)
2016-11-10 14:35:41 +00:00
Andrea Crotti
29da8e6c04
Merge pull request #163 from ludwigpacifici/master
...
Added algorithm-mnemonics for C++
2016-10-15 12:16:16 +01:00
Ludwig PACIFICI
04ef7136a5
Removed contributor tag
2016-10-15 10:13:04 +01:00
Ludwig PACIFICI
21b915674a
Added algorithm-mnemonics for C++
2016-10-11 22:25:05 +01:00
Andrea Crotti
11dec0b63d
Merge pull request #159 from ennokde/master
...
Fixing overloaded keys in cc/c++-mode
2016-09-17 13:37:44 +01:00
ennokde
73e8ddcd03
Update and rename function to member_function
...
Previous name suggested a free function when it really is a member function.
2016-09-17 14:23:23 +02:00
Andrea Crotti
cf589efb27
Merge pull request #158 from soupault/master
...
Add snippet for `function+docstring in Numpy convention` to python-mode
2016-09-17 10:49:19 +01:00
Enno Köster
f53ecec12d
Fixing overloaded keys in cc/c++-mode
2016-08-26 15:31:56 +02:00
Egor Panfilov
10db44b841
Added numpy function docstring template
2016-08-14 17:14:20 +03:00
Andrea Crotti
c6304aa86e
Merge pull request #135 from sh-ow/dev
...
Add two generic comment snippets for prog-mode
2016-08-08 14:29:52 +01:00
Andrea Crotti
f2dab022d8
add (require 'yasnippet) to a couple of more .yas-setup.el
2016-08-08 14:27:00 +01:00
Andrea Crotti
63e65c22d2
remove unused file
2016-08-08 14:26:54 +01:00
Andrea Crotti
f4e59122a8
Merge pull request #156 from npostavs/req-yas
...
Avoids warnings when compiling
2016-08-08 14:24:55 +01:00
Andrea Crotti
39677e8e94
Merge pull request #157 from kwrooijen/add-elixir-snippets
...
Added useful Elixir snippets
2016-08-08 12:10:48 +01:00
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