This repository has been archived by the owner on Sep 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsbt-mode-vars.el
71 lines (56 loc) · 1.68 KB
/
sbt-mode-vars.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
;;; sbt-mode-vars.el --- Custom variables for sbt-mode
;; Copyright (C) 2013 Heikki Vesalainen
;; License: http://www.gnu.org/licenses/gpl.html
;;; Commentary:
;;
;; All the user-customisable variables.
;;
;;; Code:
(defcustom sbt:program-name "sbt"
"Program invoked by the `sbt:run-sbt' command."
:type 'string
:group 'sbt)
(defcustom sbt:program-options '("")
"Options passed to sbt by the `sbt:run-sbt' command.
See https://github.com/ensime/emacs-sbt-mode/issues/139 for older sbts"
:type '(repeat string)
:group 'sbt)
(defcustom sbt:default-command "test:compile"
"The default command to run with sbt-command."
:type 'string
:group 'sbt)
(defcustom sbt:save-some-buffers t
"Whether to run `save-some-buffers' before running a command."
:type 'boolean
:group 'sbt)
(defcustom sbt:clear-buffer-before-command t
"Whether to clear the sbt buffer before running a command."
:type 'boolean
:group 'sbt)
(defcustom sbt:display-command-buffer t
"Whether to display the buffer when running a command."
:type 'boolean
:group 'sbt)
(defcustom sbt:prefer-nested-projects nil
"When finding sbt root directories, prefer nested projects.
If nil, outer projects are preferred."
:type 'boolean
:group 'sbt)
(defface sbt:error
'((t :inherit error))
"Face for displaying some sbt error messages"
:group 'sbt)
(defface sbt:info
'((t :inherit success))
"A face for displaying some sbt info messages"
:group 'sbt)
(defface sbt:warning
'((t :inherit warning))
"A face for displaying some sbt warning messages"
:group 'sbt)
(defgroup sbt nil
"Support for sbt build REPL."
:group 'sbt
:prefix "sbt:")
(provide 'sbt-mode-vars)
;;; sbt-mode-vars.el ends here