Home Gen377 @ 2024-10-25-14:46
This commit is contained in:
parent
e6ca78b611
commit
24c7c5907a
@ -43,7 +43,7 @@
|
||||
doom-socket-name = "main";
|
||||
wrapped-emacs = pkgs.symlinkJoin {
|
||||
name = "wrapped-emacs";
|
||||
paths = [pkgs.emacs29-pgtk];
|
||||
paths = [pkgs.emacs29];
|
||||
nativeBuildInputs = [pkgs.makeBinaryWrapper];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/emacs \
|
||||
|
||||
@ -139,13 +139,11 @@
|
||||
(defun my-ui-doc-glance-then-focus ()
|
||||
"Glances UI-Doc if not present, otherwise focus"
|
||||
(interactive)
|
||||
(if (lsp-ui-doc--frame-visible-p)
|
||||
(progn
|
||||
(lsp-ui-doc-hide)
|
||||
(lsp-ui-doc-show)
|
||||
(lsp-ui-doc-focus-frame))
|
||||
(if (lsp-ui-doc--visible-p)
|
||||
(lsp-ui-doc-focus-frame)
|
||||
(lsp-ui-doc-glance)))
|
||||
|
||||
|
||||
(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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user