Commit 4b713b9
authored
fix(vsg): don't error if XDG_CONFIG_HOME or HOME are not defined (#839)
On Windows, `XDG_CONFIG_HOME` and `HOME` are not defined by default,
which meant that the concatenation turned into `nil .. './config'`
resulting in an error.
Now `vim.uv.os_homedir()` is used, which should always return a string.1 parent df83eea commit 4b713b9
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | | - | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
0 commit comments