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 (use-package lsp-mode
:init :init
:config
:hook (;; replace XXX-mode with concrete major-mode(e. g. python-mode) :hook (;; replace XXX-mode with concrete major-mode(e. g. python-mode)
(c-mode . lsp)) (c-mode . lsp))
:commands lsp) :commands lsp)
;; company ;; company
(unless (package-installed-p 'company) (unless (package-installed-p 'company)
(package-install 'company)) (package-install 'company))
@@ -58,6 +60,18 @@
(setq neo-theme (if (display-graphic-p) 'icons)) (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 ;; neotree
(unless (package-installed-p 'neotree) (unless (package-installed-p 'neotree)
(package-install 'neotree) (package-install 'neotree)