f5fddc4256
As of Scala 2.13, Unicode arrows are deprecated: * https://github.com/scala/scala/pull/7540 * https://github.com/scala/scala-dev/issues/585 * https://github.com/scala/bug/issues/11210 Using one will give a deprecation warnings like so: > The unicode arrow `⇒` is deprecated, use `=>` instead. If you still wish to > display it as one character, consider using a font with programming ligatures > such as Fira Code. As such the Scala layer's version slick capability to replace ASCII arrows with Unicode ones is no longer useful, and I have removed it. Based on my tests it doesn't seem that there is a need for a more graceful way to deprecate this: i.e. nothing fails if there is extra junk in `:variables`.
31 lines
1 KiB
EmacsLisp
31 lines
1 KiB
EmacsLisp
;;; config.el --- Scala Layer configuration File for Spacemacs
|
|
;;
|
|
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
|
|
;;
|
|
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
;;
|
|
;; This file is not part of GNU Emacs.
|
|
;;
|
|
;;; License: GPLv3
|
|
|
|
(spacemacs|define-jump-handlers scala-mode)
|
|
|
|
(defvar scala-enable-eldoc nil
|
|
"If non nil then eldoc-mode is enabled in the scala layer.")
|
|
|
|
(defvar scala-enable-gtags nil
|
|
"If non nil then gtags is enabled in the scala layer.")
|
|
|
|
(defvar scala-auto-insert-asterisk-in-comments nil
|
|
"If non-nil automatically insert leading asterisk in multi-line comments.")
|
|
|
|
(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.")
|