 ;; Binding for goto-line
 (global-set-key (kbd "M-g") 'goto-line)
 
+;; Automatically delete trailing whitespaces on before-save
 (add-hook 'before-save-hook 'delete-trailing-whitespace)
+
+;; Show matching parenthesis
+(add-hook 'prog-mode-hook 'show-paren-mode)
 
 
 ;;------------------;;

(use-package ess
  :init
  (require 'ess-site)
  (ess-toggle-underscore nil)
  )


;;------------;;

(use-package dockerfile-mode
  :init
  (add-to-list 'auto-mode-alist '("Dockerfile\\'" . dockerfile-mode)))


;;---------;;
;; Rainbow ;;
;;---------;;
(use-package rainbow-mode
  :init
  (add-hook 'prog-mode-hook 'rainbow-mode))


;;-------;;
