Subject: [PATCH] Added language server for Move to eglot
From: Pankaj Jangid <[email-masked]>
To: [email-masked]
Date: Thu, 14 Mar 2024 17:22:47 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

Tags: patch

Move is a programming language for writing safe smart contracts; and
move-analyzer is the official language server. Following is the link to
the official code repository of move language.

https://github.com/move-language/move/tree/main/language/move-analyzer

In GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin23.3.0, NS
 appkit-2487.40 Version 14.3.1 (Build 23D60)) of 2024-03-14 built on
 Pankajs-MacBook-Pro.local
Repository revision: db5c8bda638468f8798c974f4ef4ab3905dbddd3
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2487
System Description:  macOS 14.3.1

Configured using:
 'configure 'CFLAGS=-I/opt/homebrew/Cellar/tree-sitter/0.22.1/include '
 'LDFLAGS=-L/opt/homebrew/Cellar/tree-sitter/0.22.1/lib ''

From 1368eb3a40ab4b5c40e7f8f8fc7ee02c3db195de Mon Sep 17 00:00:00 2001
From: Pankaj Jangid <[email-masked]>
Date: Thu, 14 Mar 2024 17:11:43 +0530
Subject: [PATCH] Added language server for Move to eglot

* lisp/progmodes/eglot.el (eglot-server-programs): Added move-analyzer
language server.
---
 lisp/progmodes/eglot.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 4ffaf5f8a0e..b3fd104a227 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -295,6 +295,7 @@ eglot-server-programs
     ((nushell-mode nushell-ts-mode) . ("nu" "--lsp"))
     (gdscript-mode . ("localhost" 6008))
     (fennel-mode . ("fennel-ls"))
+    (move-mode . ("move-analyzer"))
     ((fortran-mode f90-mode) . ("fortls"))
     (futhark-mode . ("futhark" "lsp"))
     ((lua-mode lua-ts-mode) . ,(eglot-alternatives
-- 
2.39.3 (Apple Git-146)