summaryrefslogtreecommitdiff
path: root/spacemacs/.spacemacs
blob: bac8acccb60267d03fcd6fbf7d82adbb26f5752b (plain)
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
(defun dotspacemacs/layers ()
    (setq-default
        dotspacemacs-distribution 'spacemacs
        dotspacemacs-configuration-layers '(
            auto-completion
            haskell
            python
            c-c++
            rust
            themes-megapack
        )
    ))

(defun dotspacemacs/init ()
    (setq-default
    dotspacemacs-themes '(wombat solarized-dark solarized-light))

    (setenv "RUST_SRC_PATH" "/home/daniel/src/rust/src")
    (setq racer-rust-src-path "/home/daniel/src/rust/src")
    (setq racer-cmd "/usr/bin/racer")
    (setq company-tooltip-align-annotations t)
    (global-linum-mode t)
    )

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(ac-ispell-requires 4)
 '(ahs-case-fold-search nil)
 '(ahs-default-range (quote ahs-range-whole-buffer))
 '(ahs-idle-interval 0.25)
 '(ahs-idle-timer 0 t)
 '(ahs-inhibit-face-list nil)
 '(haskell-interactive-popup-error nil t)
 '(haskell-mode-hook (quote (spacemacs/init-haskell-mode ghc-init)) t)
 '(haskell-notify-p t)
 '(haskell-process-auto-import-loaded-modules t)
 '(haskell-process-suggest-remove-import-lines t)
 '(haskell-process-type (quote auto))
 '(haskell-stylish-on-save nil)
 '(haskell-tags-on-save t)
 '(ring-bell-function (quote ignore) t)
 '(safe-local-variable-values (quote ((encoding . utf-8)))))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(company-tooltip-common ((t (:inherit company-tooltip :weight bold :underline nil))))
 '(company-tooltip-common-selection ((t (:inherit company-tooltip-selection :weight bold :underline nil)))))