From 79c807b309e4c838114bfdee88dbfc8c3bd2fcc5 Mon Sep 17 00:00:00 2001 From: Anthony Rose Date: Fri, 8 Nov 2024 11:15:50 +0000 Subject: [PATCH] Fix lua if statement --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index adf470a..a0fe1fe 100644 --- a/init.lua +++ b/init.lua @@ -1,6 +1,6 @@ vim.cmd("runtime vimrc") -if vim.fn.has('win32') then +if (vim.fn.has 'win32' == 1) then require'lspconfig'.powershell_es.setup{ bundle_path = os.getenv("LOCALAPPDATA") .. '\\PowerShellEditorServices', shell = 'powershell.exe',