Skip to content

gmmoreira/ruby-spacemacs-layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

My own configuration layer for Ruby programming language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published