We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b9ca97 commit 8ac30a6Copy full SHA for 8ac30a6
lua/astrocommunity/recipes/cache-colorscheme/init.lua
@@ -1,5 +1,7 @@
1
-- pick a location to cache colorscheme
2
-local colorscheme_cache = vim.fs.joinpath(vim.fn.stdpath "state" --[[@as string]], "last_colorscheme")
+local colorscheme_cache = vim.fs.joinpath
3
+ and vim.fs.joinpath(vim.fn.stdpath "state" --[[@as string]], "last_colorscheme")
4
+ or (vim.fn.stdpath "state" .. "/last_colorscheme")
5
6
return {
7
{
0 commit comments