Fix lua if statement

This commit is contained in:
Anthony Rose 2024-11-08 11:15:50 +00:00
parent 36984ce552
commit 79c807b309

View file

@ -1,6 +1,6 @@
vim.cmd("runtime vimrc") vim.cmd("runtime vimrc")
if vim.fn.has('win32') then if (vim.fn.has 'win32' == 1) then
require'lspconfig'.powershell_es.setup{ require'lspconfig'.powershell_es.setup{
bundle_path = os.getenv("LOCALAPPDATA") .. '\\PowerShellEditorServices', bundle_path = os.getenv("LOCALAPPDATA") .. '\\PowerShellEditorServices',
shell = 'powershell.exe', shell = 'powershell.exe',