Home Gen376 @ 2024-10-23-13:30
This commit is contained in:
parent
3bf9a24372
commit
e6ca78b611
@ -139,7 +139,7 @@
|
||||
(defun my-ui-doc-glance-then-focus ()
|
||||
"Glances UI-Doc if not present, otherwise focus"
|
||||
(interactive)
|
||||
(if lsp-ui-doc--bounds
|
||||
(if (lsp-ui-doc--frame-visible-p)
|
||||
(progn
|
||||
(lsp-ui-doc-hide)
|
||||
(lsp-ui-doc-show)
|
||||
@ -149,7 +149,4 @@
|
||||
(map! :map (cpp-mode-map c-mode-map c++-mode-map lsp-mode-map)
|
||||
:desc "Show Doc-UI" :n "C-h" #'my-ui-doc-glance-then-focus)
|
||||
|
||||
|
||||
;; Bind C-h to the handler function
|
||||
(map! "C-h" #'my-c-h-handler)
|
||||
(set-formatter! 'alejandra '("alejandra" "--quiet") :modes '(nix-mode))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user