aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
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 96e6d25e..33be9ed7 100644
--- a/lua/nvim-lsp-installer/log.lua
+++ b/lua/nvim-lsp-installer/log.lua
@@ -31,7 +31,7 @@ local config = {
}
local log = {
- outfile = path.concat { vim.fn.stdpath "cache", ("%s.log"):format(config.name) },
+ outfile = path.concat { (vim.fn.stdpath "state" or vim.fn.stdpath "cache"), ("%s.log"):format(config.name) },
}
local unpack = unpack or table.unpack