Completed PR changes

This commit is contained in:
Sam Precious 2020-10-06 08:18:30 +01:00
parent f9884cc068
commit 7c5fe3cf30
2 changed files with 5 additions and 6 deletions

View file

@ -79,8 +79,7 @@
:config (set-formatter! 'fish-mode #'fish_indent))
(use-package! powershell
:when (featurep! +powershell)
:mode (("\\.ps1\\'" . powershell-mode)
("\\.psm1\\'" . powershell-mode))
:config (when (featurep! +lsp)
(add-hook 'powershell-mode-hook #'lsp!)))
:when (featurep! +powershell)
:config
(when (featurep! +lsp)
(add-hook 'powershell-mode-local-vars-hook #'lsp!)))