;; -*- lexical-binding: t; -*-

;; Initialise Straight.el

(load (locate-user-emacs-file "init-straight"))
(syd-initialise-straight)


;; My friend Nova

;; This is my friend Nova.  She has to have her own page to spread her spores
;; in. Y^,..,^Y

;;⠀⠀⣄⠀⠀⠀⠀⠀⠀⢠⠖⠒⠒⠒⢄⠀⠀⠀⠀⢀⢖⡆⠀⠀⠀
;;⠀⠀⡇⠑⣄⠀⠀⠀⠀⠯⣀⡀⠀⢀⣨⠆⠀⠀⢀⠎⢸⠀⠀⠀⠀
;;⠀⠀⢹⠀⠈⠓⢄⣀⡠⠤⠤⡇⠀⢸⠤⣄⡀⣠⠎⠀⢸⠀⠀⠀⠀
;;⠀⠀⠸⡀⢀⡔⠉⠹⠄⠀⠴⠧⠤⢼⣀⠀⠈⠳⡄⠀⢸⠀⠀⠀⠀
;;⠀⠀⠀⢣⡞⠀⠀⠀⣀⣀⡀⠀⠀⠀⢀⣄⡀⠀⠘⢦⢸⠀⠀⠀⠀
;;⠀⠀⠀⠀⡇⠀⠀⠐⠁⠀⠙⠀⠀⠀⠋⠀⠙⠀⠀⠈⣿⠄⠀⠀⠀
;;⠀⠀⠀⠀⢳⡀⠀⠀⠀⠀⠀⣠⣄⠀⠀⠀⠀⠀⠀⠈⢹⠀⠀⠀⠀
;;⠀⠀⠀⠀⠀⠱⣄⠀⠀⠀⠀⠻⠟⠀⠀⠀⠀⠀⢀⣠⠏⠀⠀⠀⠀
;;⠀⠀⠀⠀⠀⠀⢸⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⢺⡉⠀⠀⠀⠀⠀⠀
;;⠀⠀⠀⠀⠀⢠⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠳⡀⠀⠀⠀⠀⠀
;;⠀⠀⠀⠀⠀⡞⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢳⠀⠀⠀⠀
;;⠀⠀⠀⠀⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀
;;⠀⠀⠀⠀⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⠞⠀⠀⠀⠀


;; Personal modules

(add-to-list 'load-path (file-name-concat user-emacs-directory "modules"))

;; Must come before the rest!
(require 'syd-use-package)
(require 'syd-general)

;; `on.el' provides a collection of utility hooks and functions ported
;; from Doom Emacs.  The hooks make it easier to speed up Emacs
;; startup by providing finer-grained control of the timing at which
;; packages are loaded.
(use-package on
  :straight (:type git
             :host gitlab
             :repo "crumbtoo/on.el"))

;; Used in many other modules, so it comes first.
(require 'syd-popups)

(require 'syd-age)
(require 'syd-autosave)
(require 'syd-completion)
(require 'syd-custom)
(require 'syd-dired)
(require 'syd-display-startup-time)
(require 'syd-ediff)
(require 'syd-editing)
(require 'syd-eshell)
(require 'syd-evil)
(require 'syd-keybinds)
(require 'syd-lang)
(require 'syd-org)
(require 'syd-pdfs)
(require 'syd-projects)
(require 'syd-scratch)
(require 'syd-smartparens)
(require 'syd-snippets)
(require 'syd-tabs)
(require 'syd-tooling)
(require 'syd-tramp)
(require 'syd-trust)
(require 'syd-ui)
(put 'narrow-to-region 'disabled nil)
