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.
2 parents 7761fea + 7b00ebb commit 3c6ed26Copy full SHA for 3c6ed26
lua/github-theme/init.lua
@@ -94,7 +94,7 @@ M.setup = function(opts)
94
local cached_path = util.join_paths(config.options.compile_path, 'cache')
95
local cached = read_file(cached_path)
96
97
- local git_path = util.join_paths(debug.getinfo(1).source:sub(2, -23), '.git')
+ local git_path = util.join_paths(debug.getinfo(1).source:sub(2, -27), '.git')
98
local git = vim.fn.getftime(git_path)
99
local hash = require('github-theme.lib.hash')(opts) .. (git == -1 and git_path or git)
100
0 commit comments