diff --git a/init.lua b/init.lua index e8366d9..adf470a 100644 --- a/init.lua +++ b/init.lua @@ -1,8 +1,9 @@ vim.cmd("runtime vimrc") -if vim.fn.has('windows') then +if vim.fn.has('win32') then require'lspconfig'.powershell_es.setup{ bundle_path = os.getenv("LOCALAPPDATA") .. '\\PowerShellEditorServices', + shell = 'powershell.exe', } else require'lspconfig'.powershell_es.setup{