Skip to content

Commit

Permalink
fix(config): makes path more unified (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
KortanZ committed Apr 18, 2024
1 parent feaf610 commit 9e8a893
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/gentags/configs.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
local tbl = require("gentags.commons.tbl")
local str = require("gentags.commons.str")
local path = require("gentags.commons.path")

local M = {}

Expand Down Expand Up @@ -89,7 +90,7 @@ local Defaults = {
-- cache directory
-- For *NIX: `~/.cache/nvim/gentags.nvim`.
-- For Windows: `$env:USERPROFILE\AppData\Local\Temp\nvim\gentags.nvim`.
cache_dir = vim.fn.stdpath("cache") .. "/gentags.nvim",
cache_dir = path.join(vim.fn.stdpath("cache"), "gentags.nvim"),

-- garbage collection
gc = {
Expand Down

0 comments on commit 9e8a893

Please sign in to comment.