Skip to content

Commit

Permalink
refactor: move cache file to .cache dir
Browse files Browse the repository at this point in the history
  • Loading branch information
chenasraf committed May 7, 2024
1 parent 8c48678 commit 8fd1cb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/text-transform/popup/common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ popup_common.default_frequency = {
const_case = 1,
}

local frequency_file = vim.fn.stdpath("config") .. "/text-transform-frequency.json"
local cache_dir = vim.fn.stdpath("cache")
local frequency_file = cache_dir .. "/text-transform-frequency.json"
local frequency

function popup_common.load_frequency()
Expand Down

0 comments on commit 8fd1cb3

Please sign in to comment.