2024-01-26 11:13:12 +00:00
|
|
|
vim.cmd("runtime vimrc")
|
2024-11-06 09:53:41 +00:00
|
|
|
|
2024-11-08 11:11:15 +00:00
|
|
|
if vim.fn.has('win32') then
|
2024-11-08 11:00:19 +00:00
|
|
|
require'lspconfig'.powershell_es.setup{
|
|
|
|
bundle_path = os.getenv("LOCALAPPDATA") .. '\\PowerShellEditorServices',
|
2024-11-08 11:11:15 +00:00
|
|
|
shell = 'powershell.exe',
|
2024-11-08 11:00:19 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
require'lspconfig'.powershell_es.setup{
|
|
|
|
bundle_path = os.getenv("HOME") .. '/opt/PowerShellEditorServices',
|
|
|
|
}
|
|
|
|
end
|