updated .emacs

This commit is contained in:
2023-10-23 08:36:20 +02:00
parent 592ff55e73
commit a9fe2bd19d

14
.emacs
View File

@@ -37,10 +37,12 @@
(use-package lsp-mode
:init
:config
:hook (;; replace XXX-mode with concrete major-mode(e. g. python-mode)
(c-mode . lsp))
:commands lsp)
;; company
(unless (package-installed-p 'company)
(package-install 'company))
@@ -58,6 +60,18 @@
(setq neo-theme (if (display-graphic-p) 'icons))
;; emacs gdb
(fmakunbound 'gdb)
(fmakunbound 'gdb-enable-debug)
(unless (package-installed-p 'gdb-mi)
(package-install 'gdb-mi))
(use-package gdb-mi
:init
(fmakunbound 'gdb)
(fmakunbound 'gdb-enable-debug))
;; neotree
(unless (package-installed-p 'neotree)
(package-install 'neotree)