aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/log.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer/log.lua')
-rw-r--r--lua/nvim-lsp-installer/log.lua2
1 files changed, 1 insertions, 1 deletions
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),
},
}