Emacs: LSP: Configure breadcrumb-mode.
This commit is contained in:
parent
a3bb6c8d13
commit
a05aeb3b1a
|
@ -21,7 +21,9 @@
|
|||
(lsp-semantic-tokens-apply-modifiers t)
|
||||
(lsp-prefer-capf t)
|
||||
(lsp-keymap-prefix "C-c l")
|
||||
(lsp-keep-workspace-alive nil))
|
||||
(lsp-keep-workspace-alive nil)
|
||||
(lsp-headerline-breadcrumb-segments
|
||||
'(project path-up-to-project file symbols)))
|
||||
:custom-face
|
||||
;; Semantic highlighting. TODO: Check later if better options are available.
|
||||
(lsp-face-semhl-variable ((t (:inherit font-lock-variable-name-face
|
||||
|
|
|
@ -76,7 +76,9 @@
|
|||
|
||||
(defun my/ruler-on ()
|
||||
"Turn `ruler-mode' on."
|
||||
(ruler-mode 1)))
|
||||
(unless (bound-and-true-p lsp-mode)
|
||||
;; lsp-mode has this breadcrumb thingie instead.
|
||||
(ruler-mode 1))))
|
||||
:custom-face (ruler-mode-default ((t (:inherit·default
|
||||
:box·nil))))
|
||||
:hook ((find-file . my/ruler-on)
|
||||
|
|
Loading…
Reference in New Issue
Block a user