2015-01-15 04:22:15 +00:00
|
|
|
;;; config.el --- Ruby Layer configuration File for Spacemacs
|
|
|
|
;;
|
2021-03-22 20:11:29 +00:00
|
|
|
;; Copyright (c) 2012-2021 Sylvain Benner & Contributors
|
2015-01-15 04:22:15 +00:00
|
|
|
;;
|
|
|
|
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
|
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
|
|
;;
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
;;
|
2021-03-24 03:31:44 +00:00
|
|
|
;; This program is free software; you can redistribute it and/or modify
|
|
|
|
;; it under the terms of the GNU General Public License as published by
|
|
|
|
;; the Free Software Foundation, either version 3 of the License, or
|
|
|
|
;; (at your option) any later version.
|
|
|
|
;;
|
|
|
|
;; This program is distributed in the hope that it will be useful,
|
|
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;; GNU General Public License for more details.
|
|
|
|
;;
|
|
|
|
;; You should have received a copy of the GNU General Public License
|
|
|
|
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2015-01-15 04:22:15 +00:00
|
|
|
|
|
|
|
;; Variables
|
|
|
|
|
2016-09-05 02:29:41 +00:00
|
|
|
(spacemacs|define-jump-handlers enh-ruby-mode)
|
|
|
|
(spacemacs|define-jump-handlers ruby-mode)
|
|
|
|
|
2019-04-18 18:16:01 +00:00
|
|
|
(defvar ruby-backend 'robe
|
|
|
|
"Defines the backend for IDE features, defaulting to robe.
|
2019-09-30 04:49:44 +00:00
|
|
|
Possible values are `robe', and `lsp'.
|
|
|
|
If `nil' then `robe' is the default backend unless `lsp' layer is used.")
|
2019-04-18 18:16:01 +00:00
|
|
|
|
2015-10-19 04:10:32 +00:00
|
|
|
(defvar ruby-enable-enh-ruby-mode nil
|
2015-11-27 05:25:55 +00:00
|
|
|
"If non-nil, use `enh-ruby-mode' package instead of the built-in Ruby Mode.")
|
2015-04-09 03:57:22 +00:00
|
|
|
|
2015-01-15 04:22:15 +00:00
|
|
|
(defvar ruby-version-manager nil
|
2015-12-06 01:40:27 +00:00
|
|
|
"If non nil, defines the Ruby version manager.
|
|
|
|
Possible values are `rbenv', `rvm' or `chruby'.)")
|
2015-11-10 23:42:33 +00:00
|
|
|
|
2015-11-27 05:25:55 +00:00
|
|
|
(defvar ruby-test-runner 'ruby-test
|
2016-09-07 21:33:54 +00:00
|
|
|
"Test runner to use. Possible values are `ruby-test', `minitest' or `rspec'.")
|
2017-01-04 23:14:10 +00:00
|
|
|
|
|
|
|
(defvar ruby-highlight-debugger-keywords t
|
|
|
|
"If non-nil, enable highlight for debugger keywords.")
|
2021-01-09 07:34:04 +00:00
|
|
|
|
|
|
|
(defvar ruby-prettier-on-save nil
|
|
|
|
"Use prettier and run on buffer save")
|