Fix OS name

This commit is contained in:
Anthony Rose 2024-11-08 11:11:15 +00:00
parent 47838a9372
commit 36984ce552

View file

@ -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{