Commit graph

183 commits

Author SHA1 Message Date
serveln bce50200fe Added VHDL-mode snippets 2020-04-01 21:28:36 -03:00
Andrea Crotti d9a9ec282c
Merge pull request #368 from bradyt/master
Add built_value for dart
2020-03-14 10:30:42 +00:00
Andrea Crotti 0429be6586
Merge pull request #365 from r-darwish/rustic-mode
Make rustic-mode inherit rust-mode
2020-03-14 10:29:43 +00:00
Brady Trainor 5d0bbdb9f5 Add built_value for dart
From https://github.com/google/built_value.dart#generating-boilerplate-for-value-types

abstract class $CLASS_NAME$ implements Built<$CLASS_NAME$, $CLASS_NAME$Builder> {
  $CLASS_NAME$._();
  factory $CLASS_NAME$([void Function($CLASS_NAME$Builder) updates]) = _$$$CLASS_NAME$;
}
2020-03-05 15:22:34 -08:00
Philip K fdd1c1576d
Add go init snippet 2020-02-16 17:53:01 +01:00
Roey Darwish Dror bb5dc977e5 Make rustic-mode inherit rust-mode 2020-02-09 10:01:20 +02:00
Andrea Crotti 612be838d2
Merge pull request #360 from sei40kr/dockerize-snippet
Improve dockerize snippet
2020-01-22 11:40:02 +00:00
Lesley Lai 175004c501 Snippets for reason-mode 2020-01-22 00:23:16 -07:00
Seong Yong-ju cd4a42811c Improve dockerize snippet 2019-12-25 23:33:28 +09:00
Seong Yong-ju 5880275481 Add snippets for Dockerfile, Fish shell, JavaScript, Perl, and Org 2019-12-11 00:07:58 +09:00
Andrea Crotti 2cc5f35cd4
Merge pull request #341 from equwal/delete-trailing-whitespace
Delete obviously erroneous (and often annoying) trailing whitespace.
2019-11-17 17:30:47 +00:00
Spenser Truex 287945ada6 Merge rename of lisp-mode/switch to cond into whitespace removal. 2019-11-14 14:20:49 -08:00
Spenser Truex 695a7db1ed Delete obviously erroneous (and often annoying) trailing whitespace. 2019-11-14 14:10:31 -08:00
Roey Darwish Dror 8f4de7765e rust: make fns/pfns like the rest of the function templates (fix #323) 2019-11-14 14:07:22 -08:00
Igor Dejanovic 280f6196ce Fix python pudb snippet. 2019-11-12 12:14:34 +01:00
Seong Yong-ju 9904680b0e Add new snippets for sh-mode: case, select 2019-11-10 13:24:08 +09:00
Š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
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