 (setq use-package-always-defer t
       use-package-always-ensure t)
 
+(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
 (setq gnutls-log-level 2)
 
 ;; settings

;; (use-package eziam-theme :pin melpa)
(use-package parchment-theme :pin melpa)
(use-package nord-theme :pin melpa)
;; (use-package almost-mono-theme :pin melpa)
(use-package darktooth-theme :pin melpa)

;; (load-theme 'brutalist-dark t)
;; (load-theme 'eziam-dark t)
;; (load-theme 'cloud t)
;; (load-theme 'zerodark t)
;; (load-theme 'mood-one t)
;; (load-theme 'leuven t)

;; (load-theme 'gruvbox-dark-soft t)
;; (load-theme 'adwaita t)
;; (load-theme 'zerodark t)
;; (load-theme 'poet-dark-monochrome t)
(load-theme 'github-modern t)
;; (load-theme 'hydandata-light t)
;; (load-theme 'faff)
;; (load-theme 'silkworm t)
(zerodark-setup-modeline-format)

;; multiple major modes in emacs


;; php mode supports
(use-package php-mode :ensure t :pin melpa)

;; fsharp mode supports
(use-package fsharp-mode :ensure t :pin melpa
  :hook (fsharp . (lambda () (require 'eglot-fsharp))))

;; rust supports
(use-package rust-mode :pin melpa :mode "\\.rs$"
  :config (setq rust-format-on-save t
                ;; https://github.com/rust-lang/rust-mode/issues/288#issuecomment-469276567
                rust-match-angle-brackets nil))

(use-package zig-mode :pin melpa)
(use-package direnv :pin melpa)
(use-package jq-mode :pin melpa)
(use-package pest-mode :pin melpa)

;; futhark supports
(use-package futhark-mode :pin melpa)
