13 Commits

Author SHA1 Message Date
passky
e3b47496a3 fix: add default value for eglot lsp port extraction as fallback
See #169:
"network/language_server/remote_port" only presents in settings file when it has been modified from the default value from later version of godot.
So it always fail to extraction and return nothing,we can fix that by add a default value.
Also: bump gdscript-eglot-version to 4.5
2025-10-05 00:37:41 +08:00
Kato Muso
f320e02427 Add docstring for gdscript-eglot--extract-port function 2024-12-06 23:40:53 +00:00
Kato Muso
88f6bca508 Add docstring for gdscript-eglot--get-config-dir function 2024-12-06 23:40:11 +00:00
Kato Muso
686feebf2d Add gdscript-eglot--extract-port function 2024-11-05 07:15:28 +00:00
Kato Muso
f8fce3ad1a Add gdscript-eglot--get-config-dir function 2024-11-05 07:15:21 +00:00
Kato Muso
3052839d71 Refactor gdscript-eglot-contact 2024-11-04 09:28:33 +00:00
Kato Muso
d1076e1b59 Fix config directory in gdscript-eglot-contact 2024-11-03 21:44:41 +00:00
Kato Muso
21be7cd6d3 Bump gdscript-eglot-version to 4.3 2024-11-02 06:59:41 +00:00
Kato Muso
b03647b62e Change gdscript-eglot-version type to be string instead of integer 2024-11-02 06:57:58 +00:00
xiliuya
bcb50cfe2c - add Windows-nt eglot config dir 2023-09-22 00:30:30 +08:00
xiliuya
0938403561 - set darwin's eglot config dir 2023-09-22 00:02:31 +08:00
xiliuya
3995a7b2ae gdscript-eglot: Add goto-char to 0 ,and kill the res file buffer 2023-05-14 19:21:18 +08:00
Ruijie Yu
30c4d48f81 Added integration with eglot (#122)
Fixes #121.

* gdscript-eglot.el gdscript-eglot-version: added customizable option for
the godot version in use.
(gdscript-eglot-contact): added function to allow `eglot' to find the godot LSP
port.
* gdscript-mode.el Commmentary: double space after period.
(require 'gdscript-eglot): require this new file.
(with-eval-after-load 'eglot): tell eglot how to find godot LSP.
2023-04-21 08:20:10 +02:00