|
|
|
@ -94,9 +94,6 @@
|
|
|
|
|
:config (setq doom-themes-enable-bold t |
|
|
|
|
doom-themes-enable-italic t) |
|
|
|
|
(load-theme 'doom-molokai t)) |
|
|
|
|
; (setq-default fill-column 80) |
|
|
|
|
; (define-globalized-minor-mode global-fci-mode fci-mode (lambda () (fci-mode 1))) |
|
|
|
|
; (global-fci-mode 1) |
|
|
|
|
|
|
|
|
|
;; highlights the current line |
|
|
|
|
(use-package hlinum |
|
|
|
@ -126,11 +123,17 @@
|
|
|
|
|
(setq whitespace-style '(face empty tabs lines-tail trailing)) |
|
|
|
|
(global-whitespace-mode t) |
|
|
|
|
|
|
|
|
|
;; Snippets |
|
|
|
|
;; Snippets (snippets reside in ~/.emacs.d/snippets/ and should be |
|
|
|
|
;; kept in a directory with mode name) |
|
|
|
|
(use-package yasnippet |
|
|
|
|
:ensure t) |
|
|
|
|
(yas-global-mode 1) |
|
|
|
|
|
|
|
|
|
;; colorize parens |
|
|
|
|
(use-package rainbow-delimiters |
|
|
|
|
:ensure t |
|
|
|
|
:config (add-hook 'prog-mode-hook #'rainbow-delimiters-mode)) |
|
|
|
|
|
|
|
|
|
;; auto-pairs |
|
|
|
|
(electric-pair-mode 1) |
|
|
|
|
|
|
|
|
@ -145,6 +148,11 @@
|
|
|
|
|
(line-number-mode 1) |
|
|
|
|
(column-number-mode 1) |
|
|
|
|
|
|
|
|
|
;; column highlight |
|
|
|
|
(setq-default fill-column 80) |
|
|
|
|
(define-globalized-minor-mode global-fci-mode fci-mode (lambda () (fci-mode 1))) |
|
|
|
|
(global-fci-mode 1) |
|
|
|
|
|
|
|
|
|
;; line numbers |
|
|
|
|
(global-linum-mode 1) |
|
|
|
|
(defun configure-linum-colors () |
|
|
|
|