We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2734f81 commit b71fcd5Copy full SHA for b71fcd5
1 file changed
lua/copilot/setup.lua
@@ -7,7 +7,7 @@ local M = {}
7
8
local function find_config_path()
9
local config = vim.fn.expand('$XDG_CONFIG_HOME')
10
- if config then return config end
+ if config and config ~= '' then return config end
11
config = vim.fn.has('win32') and vim.fn.expand('~/AppData/Local') or nil
12
return config or vim.fn.expand('~/.config')
13
end
0 commit comments