Skip to content

Commit b7c2e21

Browse files
committed
add debug message
1 parent 2b2b3bb commit b7c2e21

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

editor/editor.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,11 @@ func InitEditor(options Options, args []string) {
219219
if err != nil {
220220
e.homeDir = "~"
221221
}
222-
e.putLog("detecting home directory path", e.homeDir)
222+
e.putLog("detecting home directory path:", e.homeDir)
223223

224224
// load config
225225
e.configDir, e.config = newConfig(e.homeDir)
226+
e.putLog("Detecting the goneovim configuration directory:", e.configDir)
226227
e.overwriteConfigByCLIOption()
227228

228229
// get parent process id

runtime/doc/goneovim.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -322,13 +322,11 @@ Goneovim’s config file is located at
322322
$XDG_CONFIG_HOME/goneovim/settings.toml
323323
<
324324

325-
In particular, one of the following locations is available in Windows
325+
In Windows, `%XDG_CONFIG_HOME%` is not usually defined on Windows. In this case,
326+
the configuration directory is detected in the following order in Windows
326327

327328
>
328-
%LOCALAPPDATA%\goneovim\settings.toml
329-
330-
Or
331-
>
329+
%USERPROFILE%\.condig\goneovim\settings.toml
332330
%USERPROFILE%\.goneovim\settings.toml
333331
<
334332

0 commit comments

Comments
 (0)