Štěpán Němec
27f4d48cbf
Don't add anonymous functions to hooks, use named functions instead
...
This makes the functions transparent (clear where they came from) and
accessible (compilable, removable, reusable, redefinable).
2019-11-06 00:25:02 +01:00
Roey Darwish Dror
6b8fc8abd3
Change variable order in Python try snippets
...
By changing the code inside the try block to $0 it is possible to wrap the action region with a
try/except block when yas-wrap-around-region is set to t.
2019-11-04 09:36:28 +02:00
Roey Darwish Dror
d861e371da
Delete duplicate snippets
2019-10-30 13:03:31 +02:00
Roey Darwish Dror
9eafd734bf
Add snippets for all major Python debuggers
2019-10-30 11:34:38 +02:00
Andrea Crotti
a34020042c
Merge pull request #348 from r-darwish/java-constructor
...
Make the Java constructor snippet take the class name from the file name
2019-10-10 12:06:43 +01:00
Roey Darwish Dror
6df388f9fd
Make the Java constructor snippet take the class name from the file name
2019-10-10 13:48:09 +03:00
Andrea Crotti
2ec2ada21d
Merge pull request #346 from yilkalargaw/master
...
added a crystal (crystal-lang) snippets for crystal-mode
2019-10-09 07:25:52 +01:00
lispy-dobby
b06983bd4f
added specific keys to avoid using file names for snippet id
2019-10-08 20:33:36 +03:00
Andrea Crotti
c5ddec3a3c
Merge pull request #347 from dragonwasrobot/coq-mode
...
Adds snippets for coq-mode
2019-10-08 08:39:42 +01:00
Peter Urbak
2eac2f8b6f
Adds snippets for coq-mode
2019-10-06 22:09:59 +02:00
lispy-dobby
6a2f26c329
added a crystal (crystal-lang) snippets for crystal-mode
2019-10-05 13:21:10 +03:00
hankail05
3c0a57777b
add snippets for keywords
2019-10-01 12:32:05 +09:00
hankail05
edd715cf78
add snippets for some keywords
2019-09-30 11:12:33 +09:00
Roey Darwish Dror
47c9d24f7b
java: unify array creation of main and main_class
2019-09-26 14:45:58 +03:00
Andrea Crotti
221f2c340a
Merge pull request #340 from benzwick/nosearch
...
Move .nosearch to ./snippets subdirectory
2019-09-25 09:46:01 +01:00
Andrea Crotti
523a2b1570
Merge pull request #328 from bradyt/master
...
Adds several flutter snippets for dart-mode
2019-09-24 21:32:58 +01:00
Andrea Crotti
21a307f2fe
Merge pull request #342 from equwal/rename-cond
...
Renamed "switch" (which is not in lisp) to "cond" which is.
2019-09-24 21:24:08 +01:00
Spenser Truex
bedc4a9589
Renamed "switch" (which is not in lisp) to "cond" which is.
2019-09-14 13:07:16 -07:00
Ben Zwick
1fc410abac
Move .nosearch to ./snippets subdirectory
...
Otherwise the command normal-top-level-add-subdirs-to-load-path
cannot be used to add yasnippet-snippets to the load-path.
This way, the package yasnippet-snippets is made available
but the actual snippets are not loaded as lisp code
(which would cause an error).
See also: 45a652e
("Create .nosearch", 2014-10-04)
2019-09-08 19:58:23 +08:00
Andrea Crotti
676a6ddc19
Merge pull request #337 from hankail05/iostream
...
c++: make cin recognize whether 'using namespace std' exists
2019-09-08 12:37:12 +01:00
Andrea Crotti
96f0203e39
Merge pull request #336 from equwal/org-not-underline
...
Org not underline
2019-09-08 12:35:44 +01:00
Pavel Kulyov
56e766f59c
Fix aref snippet
2019-09-05 16:55:50 +03:00
hankail05
48c39037e6
c++: make cin recognize whether 'using namespace std' exists
2019-09-03 16:11:14 +09:00
Spenser Truex
3a26c0b64c
Do not underline, it is a subscript.
2019-09-01 13:30:15 -07:00
Brady Trainor
641516f801
Adds several flutter snippets for dart-mode
2019-09-01 00:15:58 -07:00
Andrea Crotti
71ae4a665f
Merge pull request #333 from r-darwish/rust
...
rust: make fns/pfns like the rest of the function templates (fix #323 )
2019-08-21 10:01:07 +01:00
Andrea Crotti
4a889dc067
Merge pull request #330 from equwal/perl-only
...
Add perl use snippet.
2019-08-21 10:00:17 +01:00
Roey Darwish Dror
3c72ede965
rust: make fns/pfns like the rest of the function templates ( fix #323 )
2019-08-15 13:16:41 +03:00
KlausZL
2f9567bb1d
Update crate
2019-07-25 18:05:33 +08:00
Spenser Truex
dcd7e7770e
Add perl use snippet.
2019-07-23 07:31:29 -07:00
Andrea Crotti
7e94b9e948
Merge pull request #317 from omajid/bash-script-dir
...
A bash snippet to get the directory a script is located in
2019-07-14 10:04:22 +01:00
adrianstaniec
f8d43f6eae
Create ic.py
...
handy for cave-man debugging
2019-07-10 08:59:08 +02:00
Spenser Truex
cc917a59e4
Downcase org snippets-- https://github.com/AndreaCrotti/yasnippet-snippets/issues/303
2019-06-23 10:53:54 -07:00
Andrea Crotti
810d453ac8
Merge pull request #305 from wyuenho/refresh-js-snippets
...
Refresh JS snippets
2019-06-23 10:39:54 +01:00
Andrea Crotti
b2b212cdd0
Merge pull request #306 from mwasilew2/master
...
add snippets for google provider in terraform
2019-06-23 10:38:26 +01:00
Andrea Crotti
0e217c768b
Merge pull request #315 from quazgar/pr-german-quotes
...
ENH: latex: German quotes.
2019-06-23 10:32:11 +01:00
Andrea Crotti
fa619518ed
Merge pull request #318 from dakling/master
...
Correct and improve existing snippets, add new snippets
2019-06-23 10:31:44 +01:00
Andrea Crotti
75a6ed6528
Merge pull request #321 from equwal/org-mode-improved
...
Improved org snippets, removed cruft.
2019-06-23 10:30:18 +01:00
Michal Wasilewski
b343146a73
change key from google_* to goog_*
2019-06-20 07:34:18 +02:00
Spenser Truex
1c0b821518
Improved org snippets, removed cruft.
2019-06-19 14:55:23 -07:00
dakling
1db9a521fb
add labelcref and left-right
2019-05-28 12:38:10 +02:00
dakling
7ef4182b3e
Update equation
2019-05-28 12:31:59 +02:00
dakling
e206b1d2f6
Update align
2019-05-28 12:31:31 +02:00
Omair Majid
a0112a9ee6
A bash snippet to get the directory a script is located in
...
See https://stackoverflow.com/a/246128/3561275 for details about how
this works.
2019-05-21 17:26:37 -04:00
Jimmy Yuen Ho Wong
9caaaea067
collapse newlines
2019-05-13 14:14:59 +01:00
Jimmy Yuen Ho Wong
f0a92cad67
Use group to create hybrid menu
2019-05-13 14:14:59 +01:00
Jimmy Yuen Ho Wong
eaf9f2b61a
Refresh pure JS snippets
2019-05-13 14:14:58 +01:00
Jimmy Yuen Ho Wong
077ebf6829
rjsx-mode snippets
2019-05-13 14:14:58 +01:00
dakling
3cfb21a965
add equation and align (multiline equation environment)
2019-05-03 20:46:28 +02:00
Daniel
f0a0d0cdd2
ENH: latex: German quotes.
2019-04-30 16:53:05 +02:00
Andrea Crotti
69cc1c19c7
Merge pull request #313 from quazgar/patch-2
...
Create init_docstring_numpy
2019-04-22 15:16:39 +01:00
Andrea Crotti
bb87d2056c
Merge pull request #312 from quazgar/patch-1
...
FIX: markdown>hyphen has extra space now
2019-04-22 15:16:00 +01:00
Daniel
dd33a45cca
ENH: Also add python/method_docstring_numpy
2019-04-19 23:20:53 +02:00
quazgar
2cf323c593
Fixed wrong snippet name
2019-04-19 23:06:45 +02:00
quazgar
c12221e72f
Create init_docstring_numpy
...
Equivalent to `function_docstring_numpy`, with equivalent shortcut key.
2019-04-19 23:02:27 +02:00
quazgar
b0d9eead30
FIX: markdown>hyphen has extra space now
...
The previous code for markdown unordered lists was missing a space after the `-`.
2019-04-18 12:26:12 +02:00
Van-Huynh Le
2f6a24dcdb
Elixir: Make hinfo more general
2019-04-13 10:21:44 +02:00
Van-Huynh Le
d742cc22b3
Elixir: make hcall and hcast snippets more general
2019-04-13 09:49:17 +02:00
Michal Wasilewski
964a614ed8
add .yas-make-groups file to create a google group
2019-03-16 20:29:22 +01:00
Fredeeb
2af5086814
c#: Try/catch, read(line), write(line)
2019-03-11 14:55:02 +01:00
Andrea Crotti
a4fa2e3596
add all the missing modes
2019-03-09 18:35:58 +00:00
Andrea Crotti
827908d7cd
Merge pull request #307 from AndreaCrotti/reporting
...
Reporting
2019-03-09 09:45:29 +00:00
Andrea Crotti
af322fb6d2
improve syntax to make parsing easier
2019-03-09 09:42:25 +00:00
Michal Wasilewski
c43655cf04
add snippets for google provider in terraform
...
Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
2019-03-01 10:43:42 +01:00
Victor Fernandes
b35209fe2c
fixed: newline at end of file
...
Other include snippets as unistd, string, stdio, ... don't have
a newline at the end of the file.
This fixes this bit of inconsistency in the stdlib snippet.
2019-02-27 23:23:20 +01:00
Andrea Crotti
796a316e3d
Merge pull request #267 from codingbum/master
...
Add snippets for Racket
2019-02-03 00:40:49 +03:00
Andrea Crotti
c39b093ee8
Merge pull request #292 from mineo/c++-class-name
...
Use the same c++ class name placeholder in all c++-mode snippets
2019-02-03 00:37:14 +03:00
Andrea Crotti
0811650e78
add key as well
2019-02-02 21:28:30 +00:00
Andrea Crotti
9f59412cd1
Merge pull request #296 from ag91/master
...
Add scala-mode snippet to define functions along with their docstring
2019-02-03 00:27:28 +03:00
Andrea Crotti
265f89e480
Merge pull request #299 from dfurtado/dataclass-enum
...
Snippets for dataclasses and enumerations
2019-01-18 19:45:24 +00:00
Ryota Nishi
a8647a86c5
Modify markdown-mode snippet to remove new line
...
I think that it is more convenient for bullets not to put newlines.
2019-01-07 12:32:47 +09:00
Daniel Furtado
1efb8f6624
Snippets for dataclasses and enumerations.
2018-12-30 15:41:02 +01:00
Stig Dahl
c7501f97f0
Remove extra character
...
Remove the extra \ from the file.
2018-12-11 23:02:11 +01:00
ag91
30e3ae6147
Add scala-mode snippet to define functions along with their docstring
2018-11-07 22:38:41 +01:00
Seong Yong-ju
853edbccd7
Fix images
2018-10-29 23:55:57 +09:00
Kamil Tomicki
4fc15c778e
Delete strlen
2018-10-13 21:39:17 +02:00
Kamil Tomicki
f857a824c1
Delete puts
2018-10-13 21:39:08 +02:00
Kamil Tomicki
e8e0fbc3bc
Update fprintf
2018-10-09 22:14:35 +02:00
Kamil Tomicki
0180880605
Update scanf
2018-10-09 22:14:13 +02:00
Kamil Tomicki
e03844fcca
Update fgets
2018-10-09 22:10:02 +02:00
Kamil Tomicki
eb49c89861
Create fprintf
2018-10-08 13:49:03 +02:00
Kamil Tomicki
e1181eeff7
Create strlen
2018-10-08 09:31:17 +02:00
Kamil Tomicki
a9edb17fcb
Create strstr
2018-10-08 09:19:42 +02:00
Kamil Tomicki
6d1e6c8af2
Create fgets
2018-10-08 09:04:29 +02:00
Kamil Tomicki
38d32e51e4
Update puts
2018-10-08 08:57:43 +02:00
Kamil Tomicki
438de99799
Create puts
2018-10-07 11:48:21 +02:00
Kamil Tomicki
75a70d3e0b
Update scanf
2018-10-07 11:18:40 +02:00
Kamil Tomicki
589188bdcb
Create scanf
...
scanf
2018-10-06 18:50:52 +02:00
Wieland Hoffmann
c9d08ca7b4
c++/class: Use yas-c++-class-name
...
This does the same yas/substr calls previously done by the snippet.
2018-10-03 10:39:59 +02:00
Wieland Hoffmann
2ce06a1fa6
c++-mode: Use `Name` as the default placeholder for all snippet
...
The snippets previously used Class, MyClass, Name and Type. Now it's just Name
in all of them, based on the class11 snippet.
2018-10-03 10:37:01 +02:00
Andrea Crotti
1d1ea6f20c
Merge pull request #285 from r-darwish/rust-snippets
...
Add Rust snippets
2018-09-22 20:28:15 +01:00
Andrea Crotti
7560ba92a3
Merge pull request #288 from kwrooijen/feature/add-hy-mode
...
Add hy-mode snippets
2018-09-22 20:27:33 +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
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