From 2ef39750c42e79702b396d00249bb8f7190bb433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Fri, 21 Oct 2022 23:04:42 +0200 Subject: [PATCH] lsp-ui: show code actions and bind apply code actions to C-c A --- init.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index fea0308..e092002 100644 --- a/init.el +++ b/init.el @@ -257,8 +257,10 @@ (use-package lsp-ui :init (setq lsp-ui-doc-position 'at-point - lsp-ui-doc-show-with-mouse nil) - :bind (("C-c d" . lsp-ui-doc-show) + lsp-ui-doc-show-with-mouse nil + lsp-ui-sideline-show-code-actions t) + :bind (("C-c A" . lsp-execute-code-action) + ("C-c d" . lsp-ui-doc-show) ("C-c I" . lsp-ui-imenu))) (use-package flycheck