/
scala.el
28 lines (18 loc) · 1.12 KB
/
scala.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
;; configurando scalastyle
(setq flycheck-scalastyle-jar
"/usr/share/java/scalastyle/scalastyle_2.11-1.0.0-batch.jar")
;; configurando javadoc
(setq-default dotspacemacs-configuration-layers '(
(scala :variables scala-indent:use-javadoc-style t)))
;; Automatically show the type of the symbol under the cursor
(setq-default dotspacemacs-configuration-layers '(
(scala :variables scala-use-java-doc-style t)))
;; Automatically insert asterisk in multiline comments
(setq-default dotspacemacs-configuration-layers '(
(scala :variables scala-auto-insert-asterisk-in-comments t)))
;; Automatically replace arrows with unicode ones
(setq-default dotspacemacs-configuration-layers '(
(scala :variables scala-use-unicode-arrows t)))
;; Iniciamos Ensime cuando abrimos un fichero scala
(setq-default dotspacemacs-configuration-layers '(
(scala :variables scala-auto-start-ensime t)))