-
Notifications
You must be signed in to change notification settings - Fork 0
/
no-nix.el
70 lines (60 loc) · 1.92 KB
/
no-nix.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
(setq package-list '(
;; themes
jetbrains-darcula-theme
obsidian-theme
oblivion-theme
;; language modes
janet-mode
lua-mode
d-mode
make-color
fsharp-mode
nix-mode
markdown-mode
shader-mode
shader-mode
python-mode
php-mode
groovy-mode
typescript-mode
vue-mode
csv-mode
cmake-mode
pdf-tools
koopa-mode
kotlin-mode
magit
hl-todo
aggressive-indent
auto-complete
markdown-preview-mode
git
rainbow-mode
multiple-cursors
;; copilot
editorconfig
jsonrpc
quelpa
;; distractions
bongo
vlc
elcord
))
(setq package-user-dir "~/.emacs.d/packages")
;; register melpa repository
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
;; fetch the list of packages available
(unless package-archive-contents
(package-refresh-contents))
;; install the missing packages
(dolist (package package-list)
(unless (package-installed-p package)
(package-install package)))
;; quelpa packages
(require 'quelpa)
(quelpa '(copilot :fetcher github
:repo "copilot-emacs/copilot.el"
:branch "main"
:files ("*.el")))