Commit Graph

859 Commits

Author SHA1 Message Date
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
Peter Hoeg 93acf4769f fix initializer
Currently, the symbol yasnippet-snippets-dir ends up being added to the
yas-snippet-dirs list instead of the value of yasnippet-snippets-dir.
2019-12-11 20:49:29 +08:00
Andrea Crotti b14d93bfd1
Merge pull request #357 from sei40kr/new-snippets
Add snippets for Dockerfile, Fish shell, JavaScript, Perl, and Org
2019-12-10 15:11:31 +00: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
Andrea Crotti 9bd7d83f0d
Merge pull request #354 from igordejanovic/fix-pudb-snippet
Fix python pudb snippet
2019-11-14 10:44:22 +00:00
Igor Dejanovic 280f6196ce Fix python pudb snippet. 2019-11-12 12:14:34 +01:00
Andrea Crotti fbd8e533a5
Merge pull request #353 from sei40kr/sh-snippets
Add new snippets for sh-mode: case, select
2019-11-10 16:55:22 +00:00
Seong Yong-ju 9904680b0e Add new snippets for sh-mode: case, select 2019-11-10 13:24:08 +09:00
Andrea Crotti 43624cad75
Merge pull request #352 from stepnem/fix-hook-functions
Don't add anonymous functions to hooks, use named functions instead
2019-11-08 09:17:19 +00: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
Andrea Crotti b36dc3059f
Merge pull request #351 from r-darwish/python-except
Change variable order in Python try snippets
2019-11-04 09:00:45 +00: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
Andrea Crotti fd92455b2b
Merge pull request #350 from r-darwish/python-debuggers
Add snippets for all major Python debuggers
2019-10-30 11:04:56 +00: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
Andrea Crotti ca5dde5d3a
Merge pull request #345 from hankail05/julia-mode
Add snippets for Julia mode
2019-10-08 08:34:53 +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
Andrea Crotti 52e4be5acd
Merge pull request #344 from r-darwish/java-main-class
java: unify array creation of main and main_class
2019-09-26 13:52:32 +01: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
Andrea Crotti 57d6ecaf9c
Merge pull request #338 from pkulev/patch-1
Fix aref snippet
2019-09-08 12:34:53 +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
Andrea Crotti 82438e9bb1
Merge pull request #332 from sten0/readme-pr
Add Debian and derivatives installation instructions
2019-08-21 09:59:38 +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
Nicholas D Steeves ca07eafc12
Add Debian and derivatives installation instructions 2019-08-01 13:16:59 -04:00
Andrea Crotti f5dbb81476
Merge pull request #331 from imkunzo/master
Update crate
2019-07-25 11:49:32 +01:00