From 356d1e76d13fd057198c5448b3ac5f59f161611f Mon Sep 17 00:00:00 2001 From: Chris Elrod Date: Tue, 10 Jan 2023 06:11:59 -0500 Subject: [PATCH 1/2] Add `julia-ts-mode` support Looks like the correct syntax according to https://github.com/joaotavora/eglot/blob/e501275e06952889056268dabe08ccd0dbaf23e5/eglot.el#L231-L232 --- eglot-jl.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eglot-jl.el b/eglot-jl.el index 7028acb..3b42a29 100644 --- a/eglot-jl.el +++ b/eglot-jl.el @@ -88,7 +88,7 @@ Otherwise returns nil" (add-hook 'project-find-functions #'eglot-jl--project-try) (add-to-list 'eglot-server-programs ;; function instead of strings to find project dir at runtime - '(julia-mode . eglot-jl--ls-invocation))) + '((julia-mode julia-ts-mode) . (eglot-jl--ls-invocation)))) (provide 'eglot-jl) ;;; eglot-jl.el ends here From b52888c86cdc0b803f556406f481d516550a7654 Mon Sep 17 00:00:00 2001 From: Chris Elrod Date: Tue, 10 Jan 2023 06:26:00 -0500 Subject: [PATCH 2/2] Fix function shouldn't be wrapped in a list --- eglot-jl.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eglot-jl.el b/eglot-jl.el index 3b42a29..ef5458d 100644 --- a/eglot-jl.el +++ b/eglot-jl.el @@ -88,7 +88,7 @@ Otherwise returns nil" (add-hook 'project-find-functions #'eglot-jl--project-try) (add-to-list 'eglot-server-programs ;; function instead of strings to find project dir at runtime - '((julia-mode julia-ts-mode) . (eglot-jl--ls-invocation)))) + '((julia-mode julia-ts-mode) . eglot-jl--ls-invocation))) (provide 'eglot-jl) ;;; eglot-jl.el ends here