diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 8489c40..3585147 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -13,10 +13,6 @@ (global-hl-line-mode) (column-number-mode) -;; undo-tree -(package-install 'undo-tree) -(global-undo-tree-mode) - ;; basic key binds (global-set-key (kbd "C-`") 'other-window) (global-set-key (kbd "C-c c") 'compile) @@ -116,6 +112,10 @@ One will be created if none exist." (font-lock-add-keywords 'd-mode '(("\\<\\(bool\\|byte\\|ubyte\\|char\\|delegate\\|double\\|float\\|function\\|int\\|long\\|short\\|uint\\|ulong\\|ushort\\|cent\\|ucent\\|real\\|ireal\\|idouble\\|ifloat\\|creal\\|cfloat\\|cdouble\\|wchar\\|dchar\\|void\\|string\\|wstring\\|dstring\\|__vector\\|Runtime\\|Thread\\)\\>" . 'font-lock-type-face))) +;; undo-tree +(package-install 'undo-tree) +(global-undo-tree-mode) + ;; highlight colours (package-install 'rainbow-mode) (add-hook 'prog-mode-hook 'rainbow-mode)