vim.cmd("runtime vimrc") if vim.fn.has('windows') then require'lspconfig'.powershell_es.setup{ bundle_path = os.getenv("LOCALAPPDATA") .. '\\PowerShellEditorServices', } else require'lspconfig'.powershell_es.setup{ bundle_path = os.getenv("HOME") .. '/opt/PowerShellEditorServices', } end