           lsp-ui-doc-enable nil)
      multiple-cursors
      (org :variables org-enable-valign t)
+     ,@(when (spacemacs/system-is-mac) '(osx))
      (rust :variables
            rust-backend 'lsp
            lsp-rust-server 'rust-analyzer

                       :image-converter
                       '("convert -density %D -antialias %f -shave 1x1 -trim -quality 100 %O")))
      (add-to-list 'org-preview-latex-process-alist (cons 'imagemagick-dpi-fix imagemagick))))

  ;; Set `fill-column' in `rust-mode' to the rustfmt default max line width
  (add-hook 'rust-mode-hook

   ;; Default font or prioritized list of fonts. The `:size' can be specified as
   ;; a non-negative integer (pixel size), or a floating-point (point size).
   ;; Point size is recommended, because it's device independent. (default 10.0)
   dotspacemacs-default-font `("Source Code Pro"
                               :size ,(if (spacemacs/system-is-mac) 15.0 9.5)
                               :weight normal
                               :width normal)

