Skip to content

Commit

Permalink
- Make sure `eglot-server-programs only have one 'gdscript-mode key
Browse files Browse the repository at this point in the history
  • Loading branch information
xiliuya committed Sep 23, 2023
1 parent bcb50cf commit 9b26d25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gdscript-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
;;;###autoload
(with-eval-after-load 'eglot
(defvar eglot-server-programs)
(setq eglot-server-programs
(assq-delete-all 'gdscript-mode eglot-server-programs))
(push (cons 'gdscript-mode #'gdscript-eglot-contact)
eglot-server-programs))

Expand Down

0 comments on commit 9b26d25

Please sign in to comment.