From 0ac51f25a27ce2666ce41fda755920a3171faa5a Mon Sep 17 00:00:00 2001 From: Rawley Fowler <75388349+rawleyfowler@users.noreply.github.com> Date: Sun, 12 Jun 2022 18:42:29 -0600 Subject: [PATCH] Update lsp.el --- emacs.d/lsp.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/emacs.d/lsp.el b/emacs.d/lsp.el index 0724a1c..59e2ff2 100644 --- a/emacs.d/lsp.el +++ b/emacs.d/lsp.el @@ -14,8 +14,13 @@ :init (global-flycheck-mode)) +(when (eq system-type 'darwin) + (use-package exec-path-from-shell ; Needed for MacOS with flycheck + :init + (exec-path-from-shell-initialize))) + (use-package company - :hook + :init (global-company-mode)) (use-package helm-lsp)