|
|
@ -255,6 +255,9 @@ Restore it to reasonable value after init. Also stop garbage collection during m |
|
|
|
(setq save-place-forget-unreadable-files nil) ;; checks if file is readable before saving position |
|
|
|
(global-set-key (kbd "RET") 'newline-and-indent) ;; indent after newline |
|
|
|
(setq save-interprogram-paste-before-kill t) ;; put replaced text into killring |
|
|
|
|
|
|
|
;; https://emacs.stackexchange.com/questions/3673/how-to-make-vc-and-magit-treat-a-symbolic-link-to-a-real-file-in-git-repo-just |
|
|
|
(setq find-file-visit-truename t) ;; some programs like lsp have trouble following symlinks, maybe vc-follow-symlinks would be enough |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
** Browser |
|
|
@ -687,7 +690,7 @@ Completion ui, replaces company. |
|
|
|
(corfu-preselect-first nil) |
|
|
|
:init |
|
|
|
(global-corfu-mode) |
|
|
|
(corfu-popupinfo-mode) |
|
|
|
; (corfu-popupinfo-mode) ; causes corfu window to stay |
|
|
|
(corfu-history-mode) |
|
|
|
;; belongs to emacs |
|
|
|
(add-to-list 'savehist-additional-variables 'corfu-history)) |
|
|
@ -1613,6 +1616,7 @@ TODO Unterverzeichnisse wurden noch nicht getestet |
|
|
|
lsp-ui-doc-border (face-foreground 'default) |
|
|
|
lsp-ui-sideline-enable t |
|
|
|
lsp-ui-sideline-ignore-duplicate t |
|
|
|
; lsp-ui-sideline-show-symbol t ; show symbol definition in sideline |
|
|
|
lsp-ui-sideline-show-code-actions nil) |
|
|
|
(when *sys/gui* |
|
|
|
(setq lsp-ui-doc-use-webkit t)) |
|
|
|