Fix lua if statement
This commit is contained in:
parent
36984ce552
commit
79c807b309
1 changed files with 1 additions and 1 deletions
2
init.lua
2
init.lua
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue