   :init (flycheck-status-emoji-mode)) ;; Warning, on macOS, requires `(set-fontset-font t 'symbol (font-spec :family "Apple Color Emoji"))`
 
 (use-package flyspell
-  :hook ((text-mode . flyspell-mode)
+  :bind ("C-c d" . my/cycle-ispell-languages)
+  :hook ( (text-mode . flyspell-mode)
           (prog-mode . flyspell-prog-mode))
   :config
   ;; Make sure DICPATH environment variables is there
-  (setenv "DICPATH"
-    (concat (getenv "HOME") "/Library/Spelling"))
+  (setenv "DICPATH" (concat (getenv "HOME") "/Library/Spelling"))
+
   ;; On macOS, make sure DICPATH var env is set as well
   (when (my/is-macos)
     (setenv "DICTIONARY" "en_GB"))
+
   ;; Find aspell and hunspell automatically
   (cond
     ;; Try Hunspell at first; if hunspell does NOT exist, use aspell
     ((executable-find "hunspell")
-      (setq ispell-program-name "/usr/local/bin/hunspell")
-      (setq ispell-local-dictionary "british")
-      (setq ispell-local-dictionary-alist
+      (setq
+        ispell-program-name "/usr/local/bin/hunspell"
+        ispell-local-dictionary "british"
+        ispell-local-dictionary-alist
         ;; Please note the list `("-d" "en_GB")` contains ACTUAL parameters passed to hunspell
         ;; You could use `("-d" "en_GB,en_GB-med")` to check with multiple dictionaries
         '(("en_GB"  "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "en_GB") nil utf-8)

    ((executable-find "aspell")
      (setq ispell-program-name "aspell")
      ;; Please note ispell-extra-args contains ACTUAL parameters passed to aspell
      (setq ispell-extra-args '("--sug-mode=ultra" "--lang=en_GB")))))

(use-package groovy-mode
  :mode ("\\.groovy\\'" . groovy-mode))


(use-package modus-operandi-theme
  :config
  (my/theme-load 'modus-operandi)
  (let
    ((line (face-attribute 'mode-line :underline)))
    (set-face-attribute 'mode-line          nil :overline   line)
    (set-face-attribute 'mode-line-inactive nil :overline   line)
    (set-face-attribute 'mode-line-inactive nil :underline  line)
    (set-face-attribute 'mode-line          nil :box        nil)
    (set-face-attribute 'mode-line-inactive nil :box        nil)
    (set-face-attribute 'mode-line-inactive nil :background "#d33682")))

(use-package modus-vivendi-theme)

