From ca7b3901a89d7f08a0405bc4c8410b115d370e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Mon, 4 Jan 2021 12:19:25 +0100 Subject: [PATCH] Added MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .emacs.d/init.el | 43 ++++++++++++++++++++++++++----------------- 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index bc3f0d9..16edac6 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -5,9 +5,9 @@ (setq package-enable-at-startup nil) (setq package-archives '( + ("melpa" . "https://melpa.org/packages/") ("ELPA" . "http://tromey.com/elpa/") ("gnu" . "http://elpa.gnu.org/packages/") - ("melpa" . "https://melpa.org/packages/") ("ORG" . "https://orgmode.org/elpa/") ) ) @@ -189,6 +189,12 @@ :config ) +;;robe +(use-package robe + :ensure t + :config + ) + (require 'robe) (add-hook 'ruby-mode-hook 'robe-mode) (add-hook 'robe-mode-hook 'ac-robe-setup) @@ -196,12 +202,6 @@ (require 'flymake-ruby) (add-hook 'ruby-mode-hook 'flymake-ruby-load) -;;robe -(use-package robe - :ensure t - :config - ) - ;; Docker (use-package dockerfile-mode :ensure t @@ -239,28 +239,37 @@ (add-hook 'yaml-mode-hook #'ansible-doc-mode) ;; Markdown-mode +(custom-set-variables + '(markdown-command "/usr/bin/pandoc")) (use-package markdown-mode :ensure t :config ) +;; C++ C +(use-package auto-complete-clang + :ensure t + :config + ) + ;; Apache (use-package apache-mode :ensure t :config ) -;; Livedown -;;; sudo npm install -g livedown -;;; (add-to-list 'load-path (expand-file-name "~/.emacs.d/emacs-livedown")) -(require 'livedown) +;; Haskell +(use-package haskell-mode + :ensure t + :config +) + +(use-package flycheck-haskell + :ensure t + :config + ) +(add-hook 'flycheck-mode-hook #'flycheck-haskell-setup) -(custom-set-variables - '(livedown-autostart nil) ; automatically open preview when opening markdown files - '(livedown-open t) ; automatically open the browser window - '(livedown-port 1337) ; port for livedown server - '(livedown-browser nil)) ; browser to use -(global-set-key (kbd "C-M-m") 'livedown-preview) ;;; --- Look & Feel ---