syl20bnr
89dc1af9a6
Remove spacemacs/add-to-local-vars-hook and use (format ...)
...
It is better to directly hook function using the conventional hook
functions.
Replace usage of (concat ...) by a (format ...) from which is more
readable.
2016-06-26 14:04:13 -04:00
d12frosted
a8b0eaacec
fix support of conditional config in ruby layer
2016-06-26 13:51:12 -04:00
syl20bnr
14c4b7e6c4
ruby: fix possible activation of both rspec-mode and ruby-test-mode
2016-06-06 22:55:28 -04:00
syl20bnr
f1cb1f4ef9
ruby: move function spacemacs//inf-ruby-auto-center to funcs.el
2016-06-06 22:55:28 -04:00
Daniel Luna
af3f053235
Automatically switch from RSpec compilation mode to interact with a debugger
...
This commit adds the 'inf-ruby-auto-enter method to
'compilation-filter-hook, automatically entering inf-ruby-mode when it
hits a breakpoint (see the
[inf-ruby-manual](https://github.com/nonsequitur/inf-ruby/#manual ) for
more details).
The hook is added locally to the rspec-compilation-mode-hook to avoid
global slowdown, as the compilation-filter-hook is called whenever a
new line is entered.
2016-06-06 22:55:28 -04:00
syl20bnr
7506024684
ruby: apply conventions for use-package a move functions to funcs.el
2016-06-06 22:55:28 -04:00
syl20bnr
8f65b1b8be
ruby: document previous commit and move function to funcs.el
2016-06-06 22:55:28 -04:00
Daniel Luna
9ca6306736
[ruby-layer] Adding ruby/rspec-verify-directory method for running specs for a
...
specific directory.
This commit creates a 'ruby/rspec-verify-directory command, which
prompts for a directory and runs rspec on it. This command is bound to
ruby-modes' keymaps under the "td" keybinding.
2016-06-06 22:55:28 -04:00
James Conroy-Finn
1b356ea776
Add Appraisals
to ruby modes
2016-06-06 22:55:28 -04:00
syl20bnr
a2de9a63af
Use :toggle keyword instead of when forms
2016-05-29 22:39:21 -04:00
sooheon
15e6290151
Make check for company-mode explicit, not implicit
...
People may have company-mode installed without necessarily using the
auto-completion layer.
2016-05-27 00:32:05 -04:00
syl20bnr
173e2a5421
Move all prefix names from config.el to init functions
2016-04-03 00:12:28 -04:00
syl20bnr
3b0c1fd93d
Convert org doc files with doc-fmt
2016-03-30 22:59:55 -04:00
syl20bnr
bf9f281269
ruby: use :toggle and fix location or ruby-mode
2016-03-27 15:52:43 -04:00
Adam Sokolnicki
c83a553e5f
Fix chruby in the ruby layer
...
This commit replaces the code used for finding out the ruby version to
use with `chruby-use-corresponding`.
2016-03-05 20:54:57 +01:00
Eivind Fonn
86286574a3
Move rake popwin config to post-init-popwin
2016-03-05 20:54:17 +01:00
Muneeb Shaikh
713e85bc42
ruby: add popwin config to *rake-compilation*
2016-03-05 20:52:18 +01:00
Eivind Fonn
733434718d
Fixup rake config
2016-03-01 18:54:56 +01:00
Adam Sokolnicki
c2ec8e57c9
Add rake
package to the ruby layer
2016-03-01 18:52:33 +01:00
Johan K. Jensen
be2c471397
Fix inline code blocks
...
Add zero-width space because emphasis blocks can't start/end with
a comma, an apostrophe or a quote.
2016-03-01 18:51:13 +01:00
Adam Sokolnicki
121fb065ee
Add bundle-open keybinding to the ruby layer
...
Also add missing information about `bundler` package to the README.
2016-02-14 23:41:06 -05:00
Adam Sokolnicki
c4cf602255
Add missing keybindings to rspec-mode in ruby layer
...
Commands `rspec-toggle-spec-and-target` and
`rspec-toggle-spec-and-target-find-example` were missing.
2016-02-07 14:49:32 +01:00
Nate Wolfe
003b26ed83
[puppet] Use ruby-mode for Puppetfile support
...
The package 'puppetfile-mode' is no longer available as it's considered
redundant with ruby-mode, which should now be the mode to use for
"Puppetfile" files.
2016-02-02 21:15:26 +01:00
Eivind Fonn
e29ac21345
Register all REPLs and make SPC m ' bindings
2016-01-31 23:39:25 -05:00
Eivind Fonn
e9f8377b92
Tweak flycheck loading process
2016-01-31 23:04:48 -05:00
syl20bnr
64adeb66ad
ruby: add comment for rspec-mode config.
2016-01-26 01:47:25 -05:00
Oleg Ivanov
1a84cc15b8
do not force rspec-mode on ruby files
2016-01-26 01:21:02 -05:00
Eivind Fonn
3271dbcf0f
Move rspec popwin config to ruby layer
2016-01-23 17:08:18 +01:00
syl20bnr
046d86800c
Clean copyrights and update for year 2016
2016-01-11 21:42:17 -05:00
Eivind Fonn
0d273485ae
Fix rbenv loading
2016-01-06 23:33:12 -05:00
syl20bnr
cddf18ff1e
Update install layer section in REAMDE.org files
2016-01-06 00:21:55 -05:00
Fabien Dubosson
92bc0049e8
Change order of arguments in (equal …) to be more explicit
2016-01-03 15:12:56 +01:00
Luke Burton
5fc1033815
Unquote ruby-version-manager variable ( fix #4289 )
2016-01-03 15:11:11 +01:00
Eivind Fonn
ac0ba50154
Make flycheck/flyspell hooks more explicit
2015-12-11 02:08:55 -05:00
syl20bnr
f20dfec4db
ruby: use post-init func for smartparens config
2015-12-11 01:55:37 -05:00
Bar Magal
995a5a0f88
Fix early call to smartparens in ruby
...
sp-with-modes was called before smartparens was loaded, so wrap it in a
with-eval-after-load.
2015-12-11 01:49:01 -05:00
Jonathan del Strother
a62da0f4ae
Add ,tb binding for rspec-verify
2015-12-11 01:48:32 -05:00
Daniel Luna
e9684f34a2
ruby: add rspec key bindings
2015-12-05 21:36:21 -05:00
syl20bnr
f1ee2c7333
ruby: update doc
2015-12-05 21:19:18 -05:00
syl20bnr
c8ac0c08a9
ruby: remove unused variable ruby-use-ruby-test
2015-12-05 21:08:45 -05:00
syl20bnr
4ef8fcac78
ruby: sort packages and configuration
2015-12-05 21:08:22 -05:00
syl20bnr
9eb8f86b9a
ruby: improve configuration for rbenv and rvm
...
Update documentation
2015-12-05 21:02:40 -05:00
syl20bnr
d1ec732cd4
ruby: improve chruby configuration
...
Look for a .ruby-version file, if it does not exist then use the
currently activated ruby.
Update documentation.
2015-12-05 20:40:27 -05:00
Immortalin
c5e260f46d
ruby: chruby support 2
2015-12-05 20:01:52 -05:00
Bo Jeanes
db5016d75b
ruby: Add chruby support
2015-12-05 19:59:42 -05:00
Eivind Fonn
c893383fe4
Fix some documentation bugs
...
- CSS links
- GIFS in published version
- Unify layer doc titles
- Change emoji layer emojis to an image
2015-12-03 23:50:29 -05:00
Muneeb Shaikh
4ce11551ec
Fixed undefined (ruby-)mode which key prefix declaration
...
* layers/+lang/ruby/config.el (ruby-mode): Fix
2015-11-27 12:33:40 +05:30
syl20bnr
7e0d8f2d32
ruby: replace ruby-use-ruby-test by ruby-test-runner
...
Also cleanup configuration.
2015-11-27 00:28:38 -05:00
Alex Girdler
cf5bc0a634
ruby: Add support for botch rspec and ruby-test
...
Add more keybinds and update README
2015-11-27 00:11:01 -05:00
syl20bnr
ecf237af18
ruby: correct prefix command name for RuboCop
2015-11-26 23:57:33 -05:00