Disable distracting LSP UI elements

This commit is contained in:
coolneng 2022-11-30 16:42:58 +01:00
parent 148afa2091
commit c62ad66a4a
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 4 additions and 5 deletions

9
+ui.el
View File

@ -23,17 +23,16 @@
(setq lsp-ui-doc-enable nil (setq lsp-ui-doc-enable nil
lsp-signature-auto-activate nil lsp-signature-auto-activate nil
lsp-enable-symbol-highlighting nil lsp-enable-symbol-highlighting nil
lsp-ui-sideline-show-code-actions nil lsp-ui-sideline-enable nil
lsp-modeline-code-actions-enable nil)) lsp-modeline-code-actions-enable nil
lsp-headerline-breadcrumb-enable nil
lsp-len-enable nil))
;; Shrink minibuffer ;; Shrink minibuffer
(after! vertico (after! vertico
(setq vertico-count 8)) (setq vertico-count 8))
;; Eliminate gaps between windows ;; Eliminate gaps between windows
(after! frame (after! frame
(remove-hook 'doom-init-ui-hook #'window-divider-mode)) (remove-hook 'doom-init-ui-hook #'window-divider-mode))
;; Disable lsp header line
(after! lsp-mode
(setq lsp-headerline-breadcrumb-enable nil))
;; Shrink terminal buffer ;; Shrink terminal buffer
(set-popup-rule! "^\\*vterm" :size 0.1 :vslot -4 :select t :quit nil :ttl 0) (set-popup-rule! "^\\*vterm" :size 0.1 :vslot -4 :select t :quit nil :ttl 0)
;; Show matching parenthesis on the minibuffer ;; Show matching parenthesis on the minibuffer