nvim/init.lua

15 lines
394 B
Lua
Raw Normal View History

2024-01-26 11:13:12 +00:00
vim.cmd("runtime vimrc")
2024-11-06 09:53:41 +00:00
2024-11-08 11:15:50 +00:00
if (vim.fn.has 'win32' == 1) 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
2024-11-09 20:48:25 +00:00
require'lspconfig'.gopls.setup{}