29 lines
808 B
EmacsLisp
29 lines
808 B
EmacsLisp
;; Configure emacs packages.
|
|
(setq should-install-packages t) ;; Define this before everything to speed up startup.
|
|
(require 'package)
|
|
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
|
|
(package-initialize)
|
|
|
|
(setq dotfiles-dir
|
|
(file-name-directory
|
|
(or (buffer-file-name) (file-chase-links load-file-name))))
|
|
|
|
(add-to-list 'load-path (concat dotfiles-dir "modules"))
|
|
|
|
;; Emacs customization / global plugin configuration
|
|
(require 'jenga-company)
|
|
(require 'jenga-emacs)
|
|
(require 'jenga-evil)
|
|
(require 'jenga-helm)
|
|
(require 'jenga-magit)
|
|
(require 'jenga-org)
|
|
(require 'jenga-ui)
|
|
|
|
;; Custom languages and highlighting
|
|
(require 'jenga-elm)
|
|
(require 'jenga-rust)
|
|
(require 'jenga-systemd)
|
|
(require 'jenga-python)
|
|
|
|
(setq custom-file "~/.emacs.d/custom.el")
|
|
(load custom-file)
|