Commit graph

211 commits

Author SHA1 Message Date
Andrea Crotti e5ebfcdb38
Merge pull request #359 from sei40kr/react-redux-snippets
Improvements and fixes for React & Redux snippets
2020-06-06 11:26:58 +01:00
Andrea Crotti 17776c16fc
Merge pull request #371 from equwal/bibtex-more
Add more bibtex snippets
2020-06-06 11:15:48 +01:00
Andrea Crotti b0161d9fc0
Merge pull request #382 from quazgar/mode-line
ENH: New snippet to add the `mode' local variable.
2020-05-26 10:07:54 +01:00
Andrea Crotti 6eac47b406
Merge pull request #381 from quazgar/java-method-scope
ENH: Make method scope choosable.
2020-05-23 11:33:12 +01:00
wailo a7c5322d3a
Fixed cout template token
The first and the second token of the cout template are merged, which is annoying when inserting cout and then typing, the second token `<< \n\` will be removed. This fix separates the second token from the first, so after inserting cout template, the user will be typing directly into the body of the cout.
2020-05-21 09:02:06 -03:00
Daniel bbd93a050a
ENH: New snippet to add the `mode' local variable.
Expanding `-*-' adds a line which sets mode:conf.

* snippets/fundamental-mode/mode-line: Expanding `-*-' adds a line which sets mode:conf.
2020-05-08 12:41:57 +02:00
Daniel 1cc635783c
ENH: Make method scope choosable.
In Java, the method snippet now lets one choose the scope:
- public
- private
- protected
- ""

Also fixed a typo.
* snippets/java-mode/method: Method scope is choosable now.
2020-05-08 12:08:33 +02:00
Andrea Crotti ab3c20483a
Merge pull request #380 from CsBigDataHub/fix-org-link-snippet
[2] Fixed typo in org-mode link
2020-05-08 10:36:06 +01:00
CsBigDataHub 174051f5af Fixed typo in org-mode link 2020-04-27 16:36:37 -05:00
Andrea Crotti 937cb7bb19
Merge pull request #376 from WhatDothLife/master
Added \limits to bigcap and bigcup for latex-mode
2020-04-25 13:10:00 +01:00
Andrea Crotti e51a259527
Merge pull request #369 from Auralcat/add-elixir-with-snippet
Adds Elixir with snippet
2020-04-18 12:54:26 +01:00
Andrea Crotti e066009c3b
Merge pull request #373 from vzajkov/master
Add Ruby unless and Proc.new snippets
2020-04-18 12:50:18 +01:00
Michael Wernthaler 81c1ac5e58 added \limits to bigcap and bigcap for latex-mode 2020-04-15 20:51:19 +02:00
Nicholas D Steeves b0cbd6b490
Remove inappropriate exec bit for snippets/vhdl-mode/* 2020-04-09 21:35:27 -04:00
Valery Zajkov 0dfd32f046 Add Ruby unless and Proc.new snippets 2020-04-05 18:44:04 -04:00
Auralcat 2838cdf272 Add Elixir with clause snippets
This is an addition to Elixir's syntax as of version 1.2.0 which wasn't
yet included in the current snippet list.
2020-04-04 14:20:34 -03:00
serveln fb56cb4e8b Fixed spelling mistake 2020-04-01 21:34:21 -03:00
serveln bce50200fe Added VHDL-mode snippets 2020-04-01 21:28:36 -03:00
Spenser Truex a3257d2570 Add more bibtex snippets
All of these snippets are defined in Section 2.1.1 "Regular Types" of the
biblatex documentation.
2020-03-30 15:15:42 -07: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 1eb351b2cd Rename yas-setup.el -> .yas-setup.el in rjsx-mode 2019-12-25 23:10:18 +09:00
Seong Yong-ju 582d0a8d7c Fix some React Native snippets 2019-12-25 22:58:21 +09:00
Seong Yong-ju f52190f3e4 Improve a Redux snippet rxaction 2019-12-25 22:55:36 +09:00
Seong Yong-ju 6c96332341 Fix TM_FILENAME_BASE in some Redux snippets 2019-12-25 22:55:36 +09:00
Seong Yong-ju d76f3afdf2 Improve some Redux snippets 2019-12-25 22:55:36 +09:00
Seong Yong-ju 52f2eb5a47 Fix TM_FILENAME_BASE in some React snippets 2019-12-25 22:55:36 +09:00
Seong Yong-ju a7226e7861 Update snippets of React component methods 2019-12-25 22:55:36 +09:00
Seong Yong-ju f1ed0bf495 Remove snippets of SFC without arrow function 2019-12-25 22:55:35 +09:00
Seong Yong-ju 92a161cadc Remove snippets of unsafe React methods 2019-12-25 22:55:35 +09:00
Seong Yong-ju f13e27e08b Add .yas-setup.el for rjsx-mode 2019-12-25 22:55:23 +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