summaryrefslogtreecommitdiffstats
path: root/lisp/init-eglot.el
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2023-03-14 14:50:00 +0100
committerMartin Polden <mpolden@mpolden.no>2023-03-14 14:50:00 +0100
commitfe882950904508e30d16d819192fa9ee023501f3 (patch)
treeb9f6f7337afe23da32cbfbcf68b406c718239332 /lisp/init-eglot.el
parenta872116f0b1704a1170e948cc982533039ad0aac (diff)
eglot: make function interactive
Diffstat (limited to 'lisp/init-eglot.el')
-rw-r--r--lisp/init-eglot.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/init-eglot.el b/lisp/init-eglot.el
index 04a01ab..da392e1 100644
--- a/lisp/init-eglot.el
+++ b/lisp/init-eglot.el
@@ -16,6 +16,7 @@
;; this is a workaround for eglot-code-action-organize-imports not working
;; https://github.com/joaotavora/eglot/issues/1132
;; https://github.com/joaotavora/eglot/issues/574#issuecomment-1401023985
+ (interactive)
(eglot-code-actions nil nil "source.organizeImports" t))
(defun mpolden/format-before-save ()