-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvscode-init.el
More file actions
23 lines (19 loc) · 978 Bytes
/
vscode-init.el
File metadata and controls
23 lines (19 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(load (concat vscode-mode-dir "/vscode-frdcsa.el"))
(load (concat vscode-mode-dir "/external/easy-moving-from-vscode-to-emacs-1.el"))
(defun vscode-mode-install-required-packages ()
""
(interactive)
(if (yes-or-no-p "Are you sure you want to install required packages for vscode-mode? ")
(progn
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
(load (concat vscode-mode-dir "/external/how-to-automatically-install-emacs-packages-by-specifying-a-list-of-package-name.el"))
(when (not package-archive-contents)
(package-refresh-contents))
(ensure-package-installed 'multiple-cursors 'projectile 'helm 'dumb-jump 'company)
)))
(if (yes-or-no-p "Install required packages for vscode-mode? ")
(vscode-mode-install-required-packages))
(load (concat vscode-mode-dir "/external/code/defuns.el"))
(load (concat vscode-mode-dir "/external/easy-moving-from-vscode-to-emacs-2.el"))
(load (concat vscode-mode-dir "/vscode-mode.el"))
(provide 'vscode-init)