mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(lsp): tweak lsp diagnostics related keybindings
- Bind consult-lsp-diagnostics to C-c C-\ as it is visually less intrusive, and scoped to only the current workspace. - Bind helm-lsp-diagnostics to C-c \ which includes diagnostics from all active workspaces.
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
(use-package consult-lsp
|
||||
:bind
|
||||
(:map lsp-mode-map
|
||||
("C-t" . consult-lsp-file-symbols)))
|
||||
("C-t" . consult-lsp-file-symbols)
|
||||
("C-c C-\\" . consult-lsp-diagnostics)))
|
||||
|
||||
(provide 'siren-consult-lsp)
|
||||
;;; siren-consult-lsp.el ends here
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
(use-package helm-lsp
|
||||
:after (helm-global-bindings)
|
||||
:bind
|
||||
("C-c '" . helm-lsp-workspace-symbol)
|
||||
("C-c C-'" . helm-lsp-workspace-symbol)
|
||||
("C-c \\" . helm-lsp-diagnostics)
|
||||
("C-c C-\\" . helm-lsp-diagnostics))
|
||||
(:map lsp-mode-map
|
||||
("C-c '" . helm-lsp-workspace-symbol)
|
||||
("C-c C-'" . helm-lsp-workspace-symbol)
|
||||
("C-c \\" . helm-lsp-diagnostics)))
|
||||
|
||||
(provide 'siren-helm-lsp)
|
||||
;;; siren-helm-lsp.el ends here
|
||||
|
||||
Reference in New Issue
Block a user