Skip to content

Commit

Permalink
- add Windows-nt eglot config dir
Browse files Browse the repository at this point in the history
  • Loading branch information
xiliuya committed Sep 21, 2023
1 parent 0938403 commit bcb50cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gdscript-eglot.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bcb50cf

Please sign in to comment.