   :ensure t
   :config
   (evil-mode t)
-)
+  )
 
 (use-package general :ensure t
   :config
   (general-create-definer space-leader
-	    :prefix "SPC"
-	    :non-normal-prefix "M-SPC")
+    :prefix "SPC"
+    :non-normal-prefix "M-SPC")
   (general-create-definer comma-leader
     :prefix ","
     :non-normal-prefix "M-,"

  :diminish
  :init
  (which-key-mode)
)

;; Projects based on version control
(use-package projectile


;; https://stackoverflow.com/a/9697222/1425701
(defun comment-or-uncomment-region-or-line ()
  "Comments or uncomments the region or the current line if there's no active region."
  (interactive)
  (let (beg end)
    (if (region-active-p)
	(setq beg (region-beginning) end (region-end))
      (setq beg (line-beginning-position) end (line-end-position)))
    (comment-or-uncomment-region beg end)))

;; Auto scroll rspec tests
(setq compilation-scroll-output t)
