aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2022-05-30 14:19:07 +0200
committerGitHub <noreply@github.com>2022-05-30 14:19:07 +0200
commitb210fffba39e56f1615e9283ad7e2b41ed1a5064 (patch)
tree05aac72a3072b3b0585fa3c4323187848aad4a9a /lua
parentrun autogen_metadata.lua (diff)
downloadmason-b210fffba39e56f1615e9283ad7e2b41ed1a5064.tar
mason-b210fffba39e56f1615e9283ad7e2b41ed1a5064.tar.gz
mason-b210fffba39e56f1615e9283ad7e2b41ed1a5064.tar.bz2
mason-b210fffba39e56f1615e9283ad7e2b41ed1a5064.tar.lz
mason-b210fffba39e56f1615e9283ad7e2b41ed1a5064.tar.xz
mason-b210fffba39e56f1615e9283ad7e2b41ed1a5064.tar.zst
mason-b210fffba39e56f1615e9283ad7e2b41ed1a5064.zip
chore(log): always use "cache" stdpath (#739)
Closes #738.
Diffstat (limited to '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 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),
},
}