From 45f2e6ab18eb3bab2b74880ed1f8b211e21596f9 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Wed, 24 Aug 2016 23:03:57 +0200 Subject: add .spacemacs dotfile --- spacemacs/.spacemacs | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 spacemacs/.spacemacs 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))))) -- cgit v1.2.3