Commit Graph

15 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
Noam Postavsky 67901f1984 Revert "fix initializer", adding the symbol is correct 2019-12-27 20:41:36 -05:00
Seong Yong-ju f52190f3e4 Improve a Redux snippet rxaction 2019-12-25 22:55:36 +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
Š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
Etienne b62f9ae927
Add customization group for snippets
* yasnippet-snippets.el (yasnippet-snippets): Add customization group.
2019-02-02 21:44:07 +00:00
Etienne c60eb3d847
Add documentation string
* yasnippet-snippets.el (yasnippet-snippets): Add function docstring.
2019-02-02 21:44:07 +00:00
Andrea Crotti b93e4009c9
fix version number 2018-04-18 13:39:28 +01:00
Kenneth Lin 2373036c13 Can we use JIT snippet loading? (#252)
I found that yasnippet now supports JIT snippet loading. Can we make this the default setting when we initialize snippets? From some very basic benchmarking this reduces my load time of yasnippet-snippet autoloads from ~2200 ms to ~400 ms. Further compiling the snippets pushes this down to ~360 ms.
2018-02-22 13:40:09 +01:00
Noam Postavsky 871c6f022d Add snippet dir with symbol indirection (#230)
* yasnippet-snippets.el (yasnippet-snippets-dir): Define with
defconst, set to the "snippets" directory.
(yasnippet-snippets-initialize): Add `yasnippet-snippets-dir' as a
symbol.  Drop the boundp check, as we are already doing (require
'yasnippet).
2017-11-25 10:45:07 +00:00
Philipp a0bd5a05a7 Fix detection of current file name (#209)
Fixes #208
2017-09-03 16:57:16 +01:00
Andrea Crotti 77db04c75a bump version 2017-09-03 16:50:42 +01:00
Andrea Crotti d7ebfd1ef0 fix commentary 2017-09-03 16:48:57 +01:00
Andrea Crotti 6ff001decd update version 2017-08-21 11:02:44 +01:00
Andrea Crotti 0253a7eb57 move everything in snippets as it should be (#203) 2017-08-13 12:16:55 +01:00