From b210fffba39e56f1615e9283ad7e2b41ed1a5064 Mon Sep 17 00:00:00 2001 From: William Boman Date: Mon, 30 May 2022 14:19:07 +0200 Subject: chore(log): always use "cache" stdpath (#739) Closes #738. --- lua/nvim-lsp-installer/log.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/nvim-lsp-installer/log.lua b/lua/nvim-lsp-installer/log.lua index a6b34c5e..b1a6e18d 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" == 1 and vim.fn.stdpath "state") or vim.fn.stdpath "cache"), + vim.fn.stdpath "cache", ("%s.log"):format(config.name), }, } -- cgit v1.2.3-70-g09d2