From 2239d287b88aa97d1adc435087c5f3b155eeace1 Mon Sep 17 00:00:00 2001 From: Jakub Date: Fri, 26 Sep 2025 18:52:49 +0800 Subject: [PATCH] Ensure eglot in godot --- README.org | 3 +++ workflows/godot-custom.el | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 06e7fab..486a06a 100644 --- a/README.org +++ b/README.org @@ -100,3 +100,6 @@ Theurgy does not use Evil, but it doesn't strictly adhere to Emacs binding conve ** Extension Theurgy can be extended by placing any arbitrary Emacs Lisp files in =./workflows= (to use for specific mode customisations), =./userland= (to use for application replacements), and =./screens= (to use for specific GUIs and layouts). + +** Godot Setup +Set the external exec path to ~/usr/bin/emacsclient~ and the exec flags to ~+{line}:{col} {file}~ diff --git a/workflows/godot-custom.el b/workflows/godot-custom.el index ae93aed..218cc52 100644 --- a/workflows/godot-custom.el +++ b/workflows/godot-custom.el @@ -26,7 +26,8 @@ :straight (gdscript-mode :type git :host github - :repo "godotengine/emacs-gdscript-mode")) + :repo "godotengine/emacs-gdscript-mode") + :hook (gdscript-mode . eglot-ensure)) (defcustom gdscript-treesitter-location nil "Location for gdscript's treesitter library."