From bcb50cfe2ca5785ea5081d844a7b3bbba22a763f Mon Sep 17 00:00:00 2001 From: xiliuya Date: Fri, 22 Sep 2023 00:30:30 +0800 Subject: [PATCH] - add Windows-nt eglot config dir --- gdscript-eglot.el | 1 + 1 file changed, 1 insertion(+) diff --git a/gdscript-eglot.el b/gdscript-eglot.el index 3d49e57..1a1549e 100644 --- a/gdscript-eglot.el +++ b/gdscript-eglot.el @@ -55,6 +55,7 @@ https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-04/msg01070.html." (let* ((cfg-dir (or (getenv "XDG_CONFIG_HOME") (pcase system-type ('darwin "~/Library/Application Support/Godot/") + ('windows-nt "%APPDATA%\\Godot\\") ('gnu/linux "~/.config/")))) (cfg-buffer (find-file-noselect