From b03647b62ed9933a61f93e302c575c1093542479 Mon Sep 17 00:00:00 2001 From: Kato Muso Date: Sat, 2 Nov 2024 06:57:58 +0000 Subject: [PATCH 1/2] Change gdscript-eglot-version type to be string instead of integer --- gdscript-eglot.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gdscript-eglot.el b/gdscript-eglot.el index 1a1549e..9ba0ae3 100644 --- a/gdscript-eglot.el +++ b/gdscript-eglot.el @@ -38,9 +38,9 @@ :group 'gdscript) ;;;###autoload -(defcustom gdscript-eglot-version 4 +(defcustom gdscript-eglot-version "4" "The version of godot in use." - :type 'integer) + :type 'string) ;;;###autoload (defun gdscript-eglot-contact (_interactive) @@ -60,7 +60,7 @@ https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-04/msg01070.html." (cfg-buffer (find-file-noselect (expand-file-name - (format "godot/editor_settings-%d.tres" + (format "godot/editor_settings-%s.tres" gdscript-eglot-version) cfg-dir))) (port From 21be7cd6d320b42704333138f2a78aea727dda37 Mon Sep 17 00:00:00 2001 From: Kato Muso Date: Sat, 2 Nov 2024 06:59:41 +0000 Subject: [PATCH 2/2] Bump gdscript-eglot-version to 4.3 --- gdscript-eglot.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdscript-eglot.el b/gdscript-eglot.el index 9ba0ae3..9d29d6d 100644 --- a/gdscript-eglot.el +++ b/gdscript-eglot.el @@ -38,7 +38,7 @@ :group 'gdscript) ;;;###autoload -(defcustom gdscript-eglot-version "4" +(defcustom gdscript-eglot-version "4.3" "The version of godot in use." :type 'string)