 (add-hook 'before-save-hook 'delete-trailing-whitespace)
 (setq ediff-window-setup-function 'ediff-setup-windows-plain)
 
-
 ;;;; Plugins ;;;;;;;;;;;;;;;;;;;;;;;;
-
 (use-package deferred :ensure t :defer t)
 (use-package ediff :ensure t :defer t)
 

(use-package rainbow-mode :ensure t :defer t)
(use-package rainbow-delimiters :ensure t
  :commands rainbow-delimiters-mode
  :init
  (add-hook 'prog-mode-hook 'rainbow-delimiters-mode))

(use-package rotate-text :commands (rotate-word-at-point rotate-region))


;;;; Init plugins ;;;;;;;;;;;;;;;;;;;

(use-package autopair :ensure t
  :diminish autopair-mode
  :init

;;;; Editor behavior ;;;;;;;;;;;;;;;;
(setq initial-scratch-buffer nil)   ; empty scratch buffer
(electric-indent-mode +1) 			; auto-indent on RET
(global-hl-line-mode +1)            ; highlight the line
