Commit graph

717 commits

Author SHA1 Message Date
Andrea Crotti 9b210e3c0c
Merge pull request #291 from dpitic/master
New Python class and function Doxygen snippets
2018-09-22 20:26:53 +01:00
Dan Pitic ffc08ac17f Removed newline from C and NASM function Doxygen snippet. Added new
Python class and function Doxygen snippets.
2018-09-17 20:56:24 +08:00
Andrea Crotti ef6eae61f1
Merge pull request #290 from l7ssha/master
[dart-mode] Fix template for async function
2018-09-09 11:15:21 +01:00
Andrea Crotti fc6fcaa5b4
Merge pull request #286 from mssdvd/patch-1
Update rust-mode/ifl
2018-09-09 11:14:54 +01:00
Szymon Uglis 33a08b5fbd Fixed async function template 2018-09-08 23:58:07 +02:00
Andrea Crotti a778670f1e
move org snippets to the right place 2018-08-25 18:12:27 +01:00
Kevin van Rooijen a509a8c667 Add hy-mode snippets 2018-08-25 19:00:57 +02:00
Andrea Crotti 48e9f3c182
Merge pull request #287 from PicoSushi/add-more-terraform-snippets
Add more terraform snippets
2018-08-25 11:02:31 +01:00
Andrea Crotti da04256f27
fixes #282 2018-08-25 11:04:48 +01:00
Ryota Kayanuma 3367c47cbd Add locals snippet 2018-08-25 03:25:44 +09:00
Ryota Kayanuma 4fdcf1653d Fix terraform snippet 2018-08-25 03:24:54 +09:00
Ryota Kayanuma ef1eb6f6ee Add output snippet 2018-08-25 03:18:27 +09:00
Ryota Kayanuma db83743b57 Add terraform snippet 2018-08-25 03:14:27 +09:00
Ryota Kayanuma cff16d1ae9 Add module snippet 2018-08-25 03:07:31 +09:00
Ryota Kayanuma 7aa306dbd8 Add data snippet 2018-08-25 03:04:57 +09:00
Ryota Kayanuma ee3359e1f7 Add provider snippet 2018-08-25 03:03:27 +09:00
Davide Masserut f40e219e28
Update rust-mode/ifl 2018-08-17 17:36:35 +02:00
Roey Darwish Dror 0576ef2f3b
Add Rust snippets 2018-07-26 14:53:18 +03:00
Szymon Uglis d153af6d1d Snippets for dart-mode (#277)
* Snippets for dart-mode

* Review fixes
2018-07-14 14:22:17 +01:00
Terencio Agozzino 2367c0a172 Add elisp snippet using uppercase (#279) 2018-07-14 14:21:42 +01:00
Christian Köstlin 510c312f82 Add d-lang snippets (#281)
Adapted for yas from
https://github.com/dlang-vscode/dlang-vscode/blob/master/snippets/snippets.json
2018-07-14 14:21:12 +01:00
Isaac 7b004d7e80 Remove latex snippet in orgmode. (#280)
The latex snippet "<l" in orgmode is already implemented in orgmode's Easy Templates. Besides, "#+BEGIN_LATEX ... #+END_LATEX" has been replaced with "#+BEGIN_EXPORT latex ... #+END_EXPORT" since orgmode 9.0.
2018-07-14 14:20:14 +01:00
Konstantin Kharlamov fc3cf36798 c++-mode: fix tfm snippet ignored by changing duplicate descriptions (#284)
Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
2018-07-14 14:19:37 +01:00
Davide Restivo a5fac2b876 Add python/ipython snippets for org-mode (#193)
* Add python/ipython snippets for org-mode

* Simplify temp filename creation in org-mode/ipython
2018-06-16 18:09:43 +01:00
Balaji Sivaraman c4bc16ea7b rust: add snippets for crate, pub fns, and constructor (#262) 2018-06-16 18:05:24 +01:00
Dan 6a5f130397 New c-mode Doxygen function documentation using Javadoc style tags. (#264)
* New c-mode Doxygen function documentation using Javadoc style tags.

* Removed double space from doc block.

* Moved alternate c/c++ function documentation block from c-mode to
c-lang-common so that the snippet will be available for both c & c++
programs.

* Reformatted c function Doxygen documentation block. Added @details
section.

* Changed C Doxygen function block trigger to doxy to make it easier to
use. Added new nasm Doxygen function block document snippet.
2018-06-16 18:02:56 +01:00
Jürgen Hötzel c1df49dba9 Don't expand Go main package definitions at beginning of buffer (#275) 2018-06-16 17:59:53 +01:00
Chad Kunde e700a11058 add method snippet to go-mode (#276)
Used to add a method to a struct with documentation comment.
2018-06-16 17:59:11 +01:00
Masafumi Koba 214ddf78e3 Support typescript-mode (#274)
This fixes #139.

For more details, see <https://github.com/ananthakumaran/typescript.el>.
2018-05-03 14:57:16 +01:00
Andrea Crotti ed2be07237
avoid same name with different case, fixes #272 2018-04-22 14:49:07 +01:00
Nicholas D Steeves 152a091c6f Rename files that are prohibited in Debian packages (#258)
* Rename files that are prohibited in Debian packages

* Add missing keys for all markdown-mode snippets

* markdown-mode: Give a couple snippets more meaningful names

* markdown-mode/uft8: Modify description to say UTF-8

* Add MELPA stable badge.

@AndreaCrotti is now tagging stable releases, so I believe it is
appropriate to close #242
2018-04-21 10:04:16 +01:00
rrooij cdd424df88 php-mode: fix case in getters and setters (#271)
Fix the case of the getter and setter templates. The previous
method "capitalize" turned upper case characters to lower case
elsewhere in the string.
2018-04-21 09:57:50 +01:00
Tetsumi ae4708538f fix racket snippets 2018-04-20 22:16:20 +02:00
Andrea Crotti 829e3b0e22
Merge branch 'master' of github:AndreaCrotti/yasnippet-snippets 2018-04-18 13:40:15 +01:00
Andrea Crotti b93e4009c9
fix version number 2018-04-18 13:39:28 +01:00
rrooij d60f079c93 php-mode: fix missing dollar sign in set snippet (#266)
The dollar sign was missing which caused a badly generated setter
method.
2018-04-18 13:32:45 +01:00
Tetsumi 6e283069e8 add snippets for Racket 2018-04-10 22:34:04 +02:00
rrooij 4bbe565b7c php-mode: add getter and setter snippets (#265) 2018-04-08 12:46:31 +01:00
Neymarsabin 66031e52fb Add various snippets for org-mode (#260)
* Add various snippets for org-mode

* Remove readme and sourcecode and fix typos

* Remove reveal_all and edit table snippet
2018-04-07 15:40:15 +01:00
Carl Lieberman b663ac7f37 Add snippets for latex-mode (#241)
* Add sum snippet for LaTeX

* Add int snippet for LaTeX

* Add prod snippet for LaTeX

* Add binom snippet for LaTeX

* Add bigcup snippet for LaTeX

* Add bigcap snippet for LaTeX

* Remove trailing lines

* Replace two-word arguments with one word

* Actually, remove the words entirely
2018-04-07 15:12:47 +01:00
Sunil 41030e2b01 Add snippets for bazel-mode (#255)
* bazel mode snippets for cc

* bazel mode snippets for java.

added bazel mode java snippets and added newline at eof

* bazel mode snippets for python

* bazel mode snippets for shell
2018-04-07 15:08:56 +01:00
Jader Martins 6c11e532e8 fix indent function haskell (#261)
* fix indent function

* remove extra line
2018-04-07 14:57:26 +01:00
Guillermo Robles 79fc648da3 Add bibtex-mode snippets (#251)
* Add bibtex-mode snippets

* Move yas-indent-line option to .yas-setup.el file
2018-03-24 18:24:04 +00:00
Julio Oliveira 2b4c4d7ef7 Fix python-mode/function_docstring_numpy docstring indentation (#256) 2018-03-07 13:18:25 +00:00
Andrea Crotti 5464966ade
gratipay dead 2018-03-01 11:18:27 +00:00
Kenneth Lin 2373036c13 Can we use JIT snippet loading? (#252)
I found that yasnippet now supports JIT snippet loading. Can we make this the default setting when we initialize snippets? From some very basic benchmarking this reduces my load time of yasnippet-snippet autoloads from ~2200 ms to ~400 ms. Further compiling the snippets pushes this down to ~360 ms.
2018-02-22 13:40:09 +01:00
James N 26b33acf8c Add snippets for kotlin (#246) 2018-02-22 09:03:07 +01:00
Marco Craveiro d88001c1fb Latex: add snippet for description (#250)
Similarly to itemize and enumerate, the description snippet creates a
list of items, with a description associated. Copied from the
enumerate snippet.
2018-02-22 08:55:33 +01:00
Erick Navarro 652419d299 Add markdown-mode code block (#254) 2018-02-22 08:55:18 +01:00
Noam Postavsky b42c2b670b Remove paren-wrapping snippets from emacs-lisp-mode (#248)
There are several snippets whose expansion is nothing more than

    (KEY $0)

where KEY is the snippet's #key field.  These snippets do nothing but
save you typing in the parentheses.  Using a package like paredit, or
smartparens would be more suited to this.  There are currently a lot
of snippets in emacs-lisp-mode, which makes browsing through the list
more difficult, so these least useful ones should be removed.
2018-01-22 13:21:12 +00:00