Skip to content

Latest commit

 

History

History
64 lines (52 loc) · 2.47 KB

README.org

File metadata and controls

64 lines (52 loc) · 2.47 KB

gmmoreira-ruby layer

img/gmmoreira-ruby.png

Table of Contents

Description

This layer adds my own configuration above the following other layers:

  • ruby
  • dap

Features:

  • More DAP debugging templates
    Ruby RSpec File
    execute rspec for the current file
    Ruby RSpec File Single
    execute rspec for the current file at cursor position
    Rails Server
    execute rails server
  • Keybinding for rubocop auto correct file

Mutant

mutant.el is a package which provides an interface for the mutant Ruby’s gem. More details in the author repository: https://github.com/p-lambert/mutant.el.

The following variables have been customized:

VariableValue
mutant-cmd-base“bundle exec mutant” (default is “mutant”)

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add gmmoreira-ruby to the existing dotspacemacs-configuration-layers list in this file. You also need to clone this repository in ~/.emacs.d/private directory.

git clone https://github.com/gmmoreira/ruby-spacemacs-layer.git ~/.emacs.d/private/gmmoreira-ruby

Key bindings

Key BindingDescription
SPC d d ddap-debug
SPC m R Frubocop-autocorrect-current-file
SPC m c m fmutant-check-file
SPC m c m cmutant-check-custom