mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-04-22 04:41:33 -07:00
Some were outdated, some were incorrectly labeled, others were already completed, some were missing... Gotta fix them all. Also, in :ui hl-todo, there are comments that describe how Doom uses each of these annotations; those have been updated.
20 lines
836 B
EmacsLisp
20 lines
836 B
EmacsLisp
;;; config/default/autoload/deferred.el -*- lexical-binding: t; -*-
|
|
|
|
;; REVIEW: Generalize this
|
|
;;;###autoload
|
|
(defun +default/lsp-command-map ()
|
|
"Lazily invoke `lsp-command-map'."
|
|
(interactive)
|
|
(require 'lsp-mode)
|
|
(map! :leader "c l" lsp-command-map)
|
|
(dolist (leader-key (list doom-leader-key doom-leader-alt-key))
|
|
(let ((lsp-keymap-prefix (concat leader-key " c l")))
|
|
(lsp-enable-which-key-integration)))
|
|
(setq prefix-arg current-prefix-arg
|
|
unread-command-events
|
|
(mapcar (lambda (e) (cons t e))
|
|
(vconcat (when (bound-and-true-p evil-this-operator)
|
|
(where-is-internal evil-this-operator
|
|
evil-normal-state-map
|
|
t))
|
|
(this-command-keys)))))
|