emacs: Added rainbow-delimiters and other things
This commit is contained in:
parent
e7c303a6a3
commit
b3940040a2
1 changed files with 16 additions and 1 deletions
17
init.el
17
init.el
|
@ -8,7 +8,14 @@
|
|||
(package-refresh-contents))
|
||||
|
||||
;; Important packages
|
||||
(defvar my-pkgs '(starter-kit starter-kit-bindings haskell-mode markdown-mode magit color-theme-solarized)
|
||||
(defvar my-pkgs '(starter-kit
|
||||
starter-kit-bindings
|
||||
haskell-mode
|
||||
markdown-mode
|
||||
magit
|
||||
color-theme-solarized
|
||||
projectile
|
||||
rainbow-delimiters)
|
||||
"A list of packages to install at launch.")
|
||||
|
||||
(dolist (p my-pkgs)
|
||||
|
@ -98,6 +105,14 @@
|
|||
|
||||
(remove-hook 'kill-buffer-query-functions 'server-kill-buffer-query-function)
|
||||
|
||||
;; Enable projectile for all things programming
|
||||
(require 'projectile)
|
||||
(add-hook 'prog-mode-hook 'projectile-on)
|
||||
|
||||
;; Enable rainbow-delimiters for all things programming
|
||||
(require 'rainbow-delimiters)
|
||||
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)
|
||||
|
||||
;; Start server for emacsclient
|
||||
(server-start)
|
||||
|
||||
|
|
Loading…
Reference in a new issue