From b7d079a56455cb3d7d6859f299859125c1118459 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 12 Apr 2022 15:01:43 -0400 Subject: [PATCH] Teach lsp-mode that envrc files are shell files --- emacs/.emacs.d/config/init-ide.el | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs/.emacs.d/config/init-ide.el b/emacs/.emacs.d/config/init-ide.el index d4bf283..eefb39f 100644 --- a/emacs/.emacs.d/config/init-ide.el +++ b/emacs/.emacs.d/config/init-ide.el @@ -50,6 +50,7 @@ "C-c l" '("lsp")) :config (add-hook 'lsp-mode-hook #'lsp-enable-which-key-integration) + (add-to-list 'lsp-language-id-configuration '(direnv-envrc-mode . "shellscript")) :custom (lsp-keymap-prefix "C-c l") (lsp-headerline-breadcrumb-enable nil)