summaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-02-05 00:06:57 -0500
committerDavid Robillard <d@drobilla.net>2023-02-05 00:06:57 -0500
commit45823f19471630d42587e98be0b4905668437757 (patch)
tree64c22cfb9a3ab0d0451ee543482de57e96b964b9 /emacs
parent233a9e5f7bfe0a74fc17e6d4f57ebe1a1d286689 (diff)
downloaddotfiles-45823f19471630d42587e98be0b4905668437757.tar.gz
dotfiles-45823f19471630d42587e98be0b4905668437757.tar.bz2
dotfiles-45823f19471630d42587e98be0b4905668437757.zip
Load file modes with use-package
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index d2529a2..597e692 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -92,15 +92,20 @@
:commands (clang-format-buffer clang-format-region)
:hook (c-mode-common . clang-format-c-mode-hook))
+(use-package clang-format :commands (clang-format-buffer clang-format-region))
(use-package counsel :after (ivy) :config (counsel-mode))
(use-package counsel-gtags :commands ggtags-mode)
(use-package counsel-projectile :after (counsel projectile))
+(use-package diff-hl)
(use-package diminish)
+(use-package dpkg-dev-el :commands debian-changelog-mode)
(use-package flyspell :commands flyspell-mode)
(use-package flyspell-correct-ivy :after (flyspell ivy) :commands flyspell-mode)
(use-package ggtags :commands ggtags-mode)
+(use-package glsl-mode :commands glsl-mode)
(use-package ivy :config (ivy-mode))
-(use-package dpkg-dev-el :commands debian-changelog-mode)
+(use-package json-mode :commands json-mode)
+(use-package llvm-mode :commands llvm-mode)
;; (use-package lsp-mode
;; :config
@@ -118,7 +123,6 @@
:bind ("C-c m" . magit-status)
:config (define-key magit-mode-map (kbd "C-<tab>") nil))
-(use-package glsl-mode :commands glsl-mode)
(use-package markdown-mode :commands markdown-mode)
(use-package pdf-tools :magic ("%PDF" . pdf-view-mode) :config (pdf-tools-install))
(use-package prettier :commands prettier-prettify)
@@ -128,6 +132,7 @@
(use-package spaceline)
(use-package swiper :commands swiper)
(use-package tramp)
+(use-package yaml-mode :commands yaml-mode)
(require 'spaceline-config)
(require 'turtle-mode "turtle-mode/turtle-mode.el")