Skip to content

Commit b71fcd5

Browse files
committed
more path fixes
1 parent 2734f81 commit b71fcd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/copilot/setup.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ local M = {}
77

88
local function find_config_path()
99
local config = vim.fn.expand('$XDG_CONFIG_HOME')
10-
if config then return config end
10+
if config and config ~= '' then return config end
1111
config = vim.fn.has('win32') and vim.fn.expand('~/AppData/Local') or nil
1212
return config or vim.fn.expand('~/.config')
1313
end

0 commit comments

Comments
 (0)