summaryrefslogtreecommitdiff
path: root/spacemacs/.spacemacs
diff options
context:
space:
mode:
Diffstat (limited to 'spacemacs/.spacemacs')
-rw-r--r--spacemacs/.spacemacs52
1 files changed, 52 insertions, 0 deletions
diff --git a/spacemacs/.spacemacs b/spacemacs/.spacemacs
new file mode 100644
index 0000000..bac8acc
--- /dev/null
+++ b/spacemacs/.spacemacs
@@ -0,0 +1,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)))))