nvim/init.lua
2024-11-08 11:11:15 +00:00

12 lines
354 B
Lua

vim.cmd("runtime vimrc")
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{
bundle_path = os.getenv("HOME") .. '/opt/PowerShellEditorServices',
}
end