summaryrefslogtreecommitdiffstats
path: root/.emacs.d/jd/jd-dev.el
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2024-05-08 19:45:01 +0200
committerjdlugosz963 <jdlugosz963@gmail.com>2024-05-08 19:45:01 +0200
commit5ee161953a899d4026a698d2ee027e32a28e190f (patch)
treec546f39ee662dd1b76c05869080321b75eb59a50 /.emacs.d/jd/jd-dev.el
parent06e0a80f7b509fc2a565aff9ec8311caf4bf6aae (diff)
downloaddotfiles-5ee161953a899d4026a698d2ee027e32a28e190f.tar.gz
dotfiles-5ee161953a899d4026a698d2ee027e32a28e190f.zip
Delete use-package! and add :guix-package keyword instead.
Diffstat (limited to '.emacs.d/jd/jd-dev.el')
-rwxr-xr-x.emacs.d/jd/jd-dev.el67
1 files changed, 46 insertions, 21 deletions
diff --git a/.emacs.d/jd/jd-dev.el b/.emacs.d/jd/jd-dev.el
index 4cd3f0c..569b12f 100755
--- a/.emacs.d/jd/jd-dev.el
+++ b/.emacs.d/jd/jd-dev.el
@@ -7,7 +7,8 @@
7 c-basic-offset 8 7 c-basic-offset 8
8 gdb-many-windows t) 8 gdb-many-windows t)
9 9
10(use-package! lsp-mode "emacs-lsp-mode" 10(use-package lsp-mode
11 :guix-package "emacs-lsp-mode"
11 :diminish t 12 :diminish t
12 :commands (lsp lsp-deferred) 13 :commands (lsp lsp-deferred)
13 :init 14 :init
@@ -18,10 +19,13 @@
18 :config 19 :config
19 (lsp-enable-which-key-integration t)) 20 (lsp-enable-which-key-integration t))
20 21
21(use-package! lsp-ivy "emacs-lsp-ivy" 22(use-package lsp-ivy
23 :guix-package "emacs-lsp-ivy"
22 :after lsp) 24 :after lsp)
23 25
24(use-package! paredit "emacs-paredit") 26
27(use-package paredit
28 :guix-package "emacs-paredit")
25 29
26(defun jd/lisp-mode-setup () 30(defun jd/lisp-mode-setup ()
27 (rainbow-delimiters-mode) 31 (rainbow-delimiters-mode)
@@ -34,14 +38,23 @@
34 (add-hook 'clojure-mode-hook 'jd/lisp-mode-setup) 38 (add-hook 'clojure-mode-hook 'jd/lisp-mode-setup)
35 (add-hook 'lisp-mode-hook 'jd/lisp-mode-setup))) 39 (add-hook 'lisp-mode-hook 'jd/lisp-mode-setup)))
36 40
37(use-package! rainbow-delimiters "emacs-rainbow-delimiters") 41(use-package rainbow-delimiters
42 :guix-package "emacs-rainbow-delimiters")
43
44(use-package sly
45 :guix-package "emacs-sly")
46
47(use-package geiser
48 :guix-package "emacs-geiser")
49
50(use-package geiser-racket
51 :guix-package "emacs-geiser-racket")
38 52
39(use-package! sly "emacs-sly") 53(use-package racket-mode
54 :guix-package "emacs-racket-mode")
40 55
41(use-package! geiser "emacs-geiser") 56(use-package geiser-guile
42(use-package! geiser-racket "emacs-geiser-racket") 57 :guix-package "emacs-geiser-guile"
43(use-package! racket-mode "emacs-racket-mode")
44(use-package! geiser-guile "emacs-geiser-guile"
45 :config 58 :config
46 (when jd/guix-p 59 (when jd/guix-p
47 (defun jd/guix-repl () 60 (defun jd/guix-repl ()
@@ -50,23 +63,29 @@
50 (geiser-guile-load-path (cons "~/dotfiles/guix" geiser-guile-load-path))) 63 (geiser-guile-load-path (cons "~/dotfiles/guix" geiser-guile-load-path)))
51 (geiser 'guile))))) 64 (geiser 'guile)))))
52 65
53(use-package! pyvenv "emacs-pyvenv" 66(use-package pyvenv
67 :guix-package "emacs-pyvenv"
54 :after python-mode) 68 :after python-mode)
55 69
56(use-package! typescript-mode "emacs-typescript-mode" 70(use-package typescript-mode
71 :guix-package "emacs-typescript-mode"
57 :mode ("\\.ts\\'") 72 :mode ("\\.ts\\'")
58 :config 73 :config
59 (setq typescript-indent-level 2)) 74 (setq typescript-indent-level 2))
60 75
61(use-package! cider "emacs-cider") 76(use-package cider
77 :guix-package "emacs-cider")
62 78
63(use-package! tide "emacs-tide" 79(use-package tide
80 :guix-package "emacs-tide"
64 :after (typescript-mode company web-mode)) 81 :after (typescript-mode company web-mode))
65 82
66(use-package! flycheck "emacs-flycheck" 83(use-package flycheck
84 :guix-package "emacs-flycheck"
67 :hook ((after-init . global-flycheck-mode))) 85 :hook ((after-init . global-flycheck-mode)))
68 86
69(use-package! web-mode "emacs-web-mode" 87(use-package web-mode
88 :guix-package "emacs-web-mode"
70 :mode 89 :mode
71 ("\\.ejs\\'" "\\.hbs\\'" "\\.html\\'" "\\.php\\'" "\\.[jt]sx?\\'") 90 ("\\.ejs\\'" "\\.hbs\\'" "\\.html\\'" "\\.php\\'" "\\.[jt]sx?\\'")
72 :config 91 :config
@@ -81,14 +100,17 @@
81 (setq web-mode-enable-auto-closing t) 100 (setq web-mode-enable-auto-closing t)
82 (setq web-mode-enable-current-element-highlight t)) 101 (setq web-mode-enable-current-element-highlight t))
83 102
84(use-package! yaml-mode "emacs-yaml-mode") 103(use-package yaml-mode
104 :guix-package "emacs-yaml-mode")
85 105
86(use-package! docker "emacs-docker" 106(use-package docker
107 :guix-package "emacs-docker"
87 :bind 108 :bind
88 ("C-c D d" . docker-containers) 109 ("C-c D d" . docker-containers)
89 ("C-c D D" . docker)) 110 ("C-c D D" . docker))
90 111
91(use-package! company "emacs-company" 112(use-package company
113 :guix-package "emacs-company"
92 :diminish t 114 :diminish t
93 :after lsp-mode 115 :after lsp-mode
94 :hook (lsp-mode . company-mode) 116 :hook (lsp-mode . company-mode)
@@ -102,7 +124,8 @@
102 :config 124 :config
103 (global-company-mode)) 125 (global-company-mode))
104 126
105(use-package! projectile "emacs-projectile" 127(use-package projectile
128 :guix-package "emacs-projectile"
106 :diminish projectile-mode 129 :diminish projectile-mode
107 :init 130 :init
108 (when (file-directory-p "~/Documents/code") 131 (when (file-directory-p "~/Documents/code")
@@ -112,11 +135,13 @@
112 (setq projectile-switch-project-action #'projectile-dired) 135 (setq projectile-switch-project-action #'projectile-dired)
113 (projectile-mode)) 136 (projectile-mode))
114 137
115(use-package! magit "emacs-magit" 138(use-package magit
139 :guix-package "emacs-magit"
116 :custom 140 :custom
117 (magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)) 141 (magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1))
118 142
119(use-package! restclient "emacs-restclient") 143(use-package restclient
144 :guix-package "emacs-restclient")
120 145
121(setq sql-connection-alist 146(setq sql-connection-alist
122 '(("net47-abaks" 147 '(("net47-abaks"