From 6815080b3dc7c93ce12b3359e44a4edd3725ec91 Mon Sep 17 00:00:00 2001 From: William Boman Date: Sun, 29 May 2022 23:03:59 +0200 Subject: fix(log): fix evaluation of has() result --- lua/nvim-lsp-installer/log.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/nvim-lsp-installer/log.lua') diff --git a/lua/nvim-lsp-installer/log.lua b/lua/nvim-lsp-installer/log.lua index e616c630..a6b34c5e 100644 --- a/lua/nvim-lsp-installer/log.lua +++ b/lua/nvim-lsp-installer/log.lua @@ -32,7 +32,7 @@ local config = { local log = { outfile = path.concat { - ((vim.fn.has "nvim-0.8.0" and vim.fn.stdpath "state") or vim.fn.stdpath "cache"), + ((vim.fn.has "nvim-0.8.0" == 1 and vim.fn.stdpath "state") or vim.fn.stdpath "cache"), ("%s.log"):format(config.name), }, } -- cgit v1.2.3-70-g09d2