Makes vterm dependencies explicit in .emacs
This commit is contained in:
17
.emacs
17
.emacs
@@ -44,11 +44,12 @@
|
||||
'(org-agenda-files '("~/org/1.TODO.org"))
|
||||
'(package-enable-at-startup nil)
|
||||
'(package-selected-packages
|
||||
'(aggressive-indent doom-themes company-go zenburn-theme langtool smart-tabs-mode typescript-mode protobuf-mode opencl-mode glsl-mode go-mode markdown-mode srefactor irony cmake-mode company magit use-package))
|
||||
'(dockerfile-mode web-mode prettier json-mode py-isort blacken pyvenv yaml-mode lsp-pyright ng2-mode lsp-ltex lsp-treemacs treemacs-nerd-icons treemacs-projectile treemacs lsp-ui lsp-mode which-key flycheck vterm projectile yasnippet-snippets yasnippet aggressive-indent doom-themes company-go zenburn-theme langtool smart-tabs-mode typescript-mode protobuf-mode opencl-mode glsl-mode go-mode markdown-mode srefactor irony cmake-mode company magit use-package))
|
||||
'(safe-local-variable-values
|
||||
'((vc-follow-symlinks . t)
|
||||
(TeX-master . t)
|
||||
(TeX-parse-self . t)))
|
||||
'(system-packages-noconfirm t)
|
||||
'(tab-width 4)
|
||||
'(warning-suppress-log-types '((comp)))
|
||||
'(whitespace-style
|
||||
@@ -80,12 +81,24 @@
|
||||
(package-refresh-contents))
|
||||
(package-install 'use-package)
|
||||
)
|
||||
(require 'use-package))
|
||||
(require 'use-package)
|
||||
)
|
||||
|
||||
(require 'use-package)
|
||||
(require 'use-package-ensure)
|
||||
(setq use-package-always-ensure t)
|
||||
|
||||
;; required because vterm wants this before loading.
|
||||
(use-package emacs
|
||||
:if (eq system-type 'gnu/linux)
|
||||
:ensure-system-package
|
||||
(
|
||||
(cmake . cmake)
|
||||
("/usr/include/vterm.h" . libvterm-dev)
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
(use-package doom-modeline
|
||||
:init
|
||||
(doom-modeline-mode 1)
|
||||
|
||||
Reference in New Issue
Block a user