2015-11-23 19:09:57 +00:00
|
|
|
;;; config.el --- Scala Layer configuration File for Spacemacs
|
|
|
|
;;
|
2018-01-04 07:00:25 +00:00
|
|
|
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
|
2015-11-23 19:09:57 +00:00
|
|
|
;;
|
|
|
|
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
|
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
|
|
;;
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
;;
|
|
|
|
;;; License: GPLv3
|
|
|
|
|
2016-09-05 02:29:41 +00:00
|
|
|
(spacemacs|define-jump-handlers scala-mode)
|
|
|
|
|
2015-11-23 19:09:57 +00:00
|
|
|
(defvar scala-enable-eldoc nil
|
|
|
|
"If non nil then eldoc-mode is enabled in the scala layer.")
|
2015-12-30 15:54:28 +00:00
|
|
|
|
|
|
|
(defvar scala-auto-insert-asterisk-in-comments nil
|
|
|
|
"If non-nil automatically insert leading asterisk in multi-line comments.")
|
2016-01-18 08:58:01 +00:00
|
|
|
|
|
|
|
(defvar scala-use-unicode-arrows nil
|
|
|
|
"If non-nil then `->`, `=>` and `<-` are replaced with unicode arrows.")
|
2016-03-23 23:05:51 +00:00
|
|
|
|
2019-04-26 10:34:11 +00:00
|
|
|
(defconst scala-backends '(scala-ensime scala-metals)
|
|
|
|
"Backend server implementation to enable advanced IDE language features")
|
|
|
|
|
|
|
|
(defvar scala-backend 'scala-ensime
|
|
|
|
"Backend used to trigger IDE language features.
|
|
|
|
`scala-ensime' or `scala-metals' are currently supported")
|
|
|
|
|
|
|
|
(defvar scala-auto-start-backend nil
|
|
|
|
"If non nil then ensime/metals will be started when a scala file is opened.")
|