Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2021-01-04 12:19:25 +01:00
parent 1675bc81b0
commit ca7b3901a8
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -5,9 +5,9 @@
(setq package-enable-at-startup nil) (setq package-enable-at-startup nil)
(setq package-archives (setq package-archives
'( '(
("melpa" . "https://melpa.org/packages/")
("ELPA" . "http://tromey.com/elpa/") ("ELPA" . "http://tromey.com/elpa/")
("gnu" . "http://elpa.gnu.org/packages/") ("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "https://melpa.org/packages/")
("ORG" . "https://orgmode.org/elpa/") ("ORG" . "https://orgmode.org/elpa/")
) )
) )
@ -189,6 +189,12 @@
:config :config
) )
;;robe
(use-package robe
:ensure t
:config
)
(require 'robe) (require 'robe)
(add-hook 'ruby-mode-hook 'robe-mode) (add-hook 'ruby-mode-hook 'robe-mode)
(add-hook 'robe-mode-hook 'ac-robe-setup) (add-hook 'robe-mode-hook 'ac-robe-setup)
@ -196,12 +202,6 @@
(require 'flymake-ruby) (require 'flymake-ruby)
(add-hook 'ruby-mode-hook 'flymake-ruby-load) (add-hook 'ruby-mode-hook 'flymake-ruby-load)
;;robe
(use-package robe
:ensure t
:config
)
;; Docker ;; Docker
(use-package dockerfile-mode (use-package dockerfile-mode
:ensure t :ensure t
@ -239,28 +239,37 @@
(add-hook 'yaml-mode-hook #'ansible-doc-mode) (add-hook 'yaml-mode-hook #'ansible-doc-mode)
;; Markdown-mode ;; Markdown-mode
(custom-set-variables
'(markdown-command "/usr/bin/pandoc"))
(use-package markdown-mode (use-package markdown-mode
:ensure t :ensure t
:config :config
) )
;; C++ C
(use-package auto-complete-clang
:ensure t
:config
)
;; Apache ;; Apache
(use-package apache-mode (use-package apache-mode
:ensure t :ensure t
:config :config
) )
;; Livedown ;; Haskell
;;; sudo npm install -g livedown (use-package haskell-mode
;;; (add-to-list 'load-path (expand-file-name "~/.emacs.d/emacs-livedown")) :ensure t
(require 'livedown) :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 --- ;;; --- Look & Feel ---