|
|
@ -147,7 +147,14 @@ Maybe turn it on again at some point before the next major emacs upgrade |
|
|
|
(defconst MY--PATH_ORG_JOURNAL nil) ;; hacky way to prevent "free variable" compiler error |
|
|
|
(defconst MY--PATH_START "p:/Eigene Dateien/Notizen/")) |
|
|
|
(setq recentf-save-file (concat MY--PATH_USER_LOCAL "recentf")) |
|
|
|
(add-to-list 'recentf-exclude "\\elpa") ;; don't spam recentf with downloaded packages |
|
|
|
|
|
|
|
;; exclude some dirs from spamming recentf |
|
|
|
(use-package recentf |
|
|
|
:config |
|
|
|
(recentf-mode) |
|
|
|
(setq recentf-exclude '(".*-autoloads\\.el\\" |
|
|
|
"[/\\]\\.elpa/"))) |
|
|
|
|
|
|
|
(setq custom-file (concat MY--PATH_USER_LOCAL "custom.el")) ;; don't spam init.e with saved customization settings |
|
|
|
(setq abbrev-file-name (concat MY--PATH_USER_GLOBAL "abbrev_defs")) |
|
|
|
(setq backup-directory-alist `((".*" . ,temporary-file-directory))) |
|
|
@ -724,17 +731,24 @@ TODO Unterverzeichnisse wurden noch nicht getestet |
|
|
|
|
|
|
|
(use-package lsp-mode |
|
|
|
:defer t |
|
|
|
:commands lsp |
|
|
|
:commands (lsp lsp-execute-code-action) |
|
|
|
:custom |
|
|
|
(lsp-auto-guess-root nil) |
|
|
|
(lsp-prefer-flymake nil) ; use flycheck instead |
|
|
|
(lsp-file-watch-threshold 2000) |
|
|
|
(lsp-file-watch-threshold 5000) |
|
|
|
(lsb-print-performance t) |
|
|
|
(lsp-log-io t) |
|
|
|
(lsp-diagnostics-modeline-scope :project) |
|
|
|
(lsp-enable-file-watchers nil) |
|
|
|
:bind (:map lsp-mode-map ("C-c C-f" . lsp-format-buffer)) |
|
|
|
:hook ((python-mode |
|
|
|
js-mode |
|
|
|
js2-mode |
|
|
|
typescript-mode |
|
|
|
web-mode) . lsp)) |
|
|
|
:hook |
|
|
|
(((python-mode |
|
|
|
js-mode |
|
|
|
js2-mode |
|
|
|
typescript-mode |
|
|
|
web-mode) . lsp) |
|
|
|
(lsp-mode . lsp-enable-which-key-integration) |
|
|
|
(lsp-mode . lsp-diagnostics-modeline-mode))) |
|
|
|
|
|
|
|
(use-package lsp-ui |
|
|
|
:after lsp-mode |
|
|
|