Skip to content

Commit

Permalink
Restore lsp-deferred hook. It got annoying to keep calling
Browse files Browse the repository at this point in the history
`M-x lsp` for nested projects like polylith and shell script projects
that don't have any entry point or structure as such.
  • Loading branch information
adityaathalye committed Nov 9, 2023
1 parent e27f2a0 commit cf95fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ and for auto-saves we can restore from.")
;; ref: https://emacs-lsp.github.io/lsp-mode/page/installation/#use-package
:init
(setq lsp-keymap-prefix "C-c C-l")
:hook ((clojure-mode clojurescript-mode clojurec-mode) . lsp-deferred)
:hook ((clojure-mode clojurescript-mode clojurec-mode sh-mode) . lsp-deferred)
:hook (lsp-mode . lsp-enable-which-key-integration)
:custom
;; LSP "workspace" dirs:
Expand Down

0 comments on commit cf95fce

Please sign in to comment.