Fix OS name
This commit is contained in:
parent
47838a9372
commit
36984ce552
1 changed files with 2 additions and 1 deletions
3
init.lua
3
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{
|
||||
|
|
Loading…
Reference in a new issue