Skip to content

Commit 0938403

Browse files
committed
- set darwin's eglot config dir
1 parent 3e2ae19 commit 0938403

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

gdscript-eglot.el

+4-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ definitions of HOST, PORT, and INTERACTIVE.
5252
For more context, see
5353
https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-04/msg01070.html."
5454
(save-excursion
55-
(let* ((cfg-dir (or (getenv "XDG_CONFIG_HOME") "~/.config"))
55+
(let* ((cfg-dir (or (getenv "XDG_CONFIG_HOME")
56+
(pcase system-type
57+
('darwin "~/Library/Application Support/Godot/")
58+
('gnu/linux "~/.config/"))))
5659
(cfg-buffer
5760
(find-file-noselect
5861
(expand-file-name

0 commit comments

Comments
 (0)