Commit Graph

859 Commits

Author SHA1 Message Date
Jai Flack 49679b6494
org-mode: make a child of latex-mode 2020-09-08 01:45:04 +10:00
Jai Flack bad2fa2db4
latex-mode: rekey frac 2020-09-08 01:44:53 +10:00
Andrea Crotti b83c0f2f3b
Merge pull request #389 from leungbk/cc-if
cc-mode/if: escape backslashes
2020-08-02 17:58:52 +01:00
Andrea Crotti a68dc39506
Merge pull request #390 from nikgr95/rust-print-snippets-correction
Fix leftover curly brace during expansion in various print snippets
2020-08-02 17:58:31 +01:00
Nikhil Grandhi 0d79a69310 Fix leftover curly brace during expansion in various print snippets
Right curly brace is leftover upon typing at first tabstop of print,
println, eprint and eprintln.

This commit will ensure that the right curly brace will also be
replaced upon typing at the tabstop.
2020-07-29 08:34:10 +05:30
Brian Leung 35cd14df7a cc-mode/if: escape backslashes
Escaping lets the user choose between writing an unbraced `if` by
pressing C-d, or continue with a braced `if` by pressing TAB. The
current behavior when pressing C-d at this point is that there is an
unbalanced right brace remaining.
2020-07-22 18:13:24 -07:00
Andrea Crotti d5ef8ed2b3
Merge pull request #327 from adrianstaniec/patch-1
Create ic.py
2020-06-06 12:49:44 +01:00
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
Andrea Crotti 656a12a3e9
Merge pull request #384 from wailo/patch-1
Fixed cout template token
2020-05-23 11:31:27 +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
Andrea Crotti 9e806a3993
Merge pull request #374 from sten0/rm-exec-bit-for-vhdl-mode-snippets
Remove inappropriate exec bit for snippets/vhdl-mode/*
2020-04-10 12:28:17 +01: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
Andrea Crotti d39c424fa8
Merge pull request #372 from serveln/vhdl_mode
Vhdl mode
2020-04-03 11:26:46 +01: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
Andrea Crotti 619342f4e6
Merge pull request #367 from phikal/master
Add go init snippet
2020-03-14 10:29:08 +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
Andrea Crotti 388324c2de
Merge pull request #362 from LesleyLai/master
Snippets for reason-mode
2020-01-22 11:39:17 +00:00
Lesley Lai 175004c501 Snippets for reason-mode 2020-01-22 00:23:16 -07:00
Andrea Crotti e813c1479a
Merge pull request #361 from npostavs/init-sym
Revert "fix initializer", adding the symbol is correct
2019-12-30 14:05:24 +00:00
Noam Postavsky 67901f1984 Revert "fix initializer", adding the symbol is correct 2019-12-27 20:41:36 -05:00
Andrea Crotti 2686c7ea2d
Merge pull request #358 from peterhoeg/fix_initializer
fix initializer
2019-12-27 11:45:21 +00: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