unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Pankaj Jangid <pankaj@codeisgreat.org>
To: 69796@debbugs.gnu.org
Subject: bug#69796: [PATCH] Added language server for Move to eglot
Date: Thu, 14 Mar 2024 17:22:47 +0530	[thread overview]
Message-ID: <m2cyrx81yo.fsf@codeisgreat.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 763 bytes --]

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 ''


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Added-language-server-for-Move-to-eglot.patch --]
[-- Type: text/patch, Size: 904 bytes --]

From 1368eb3a40ab4b5c40e7f8f8fc7ee02c3db195de Mon Sep 17 00:00:00 2001
From: Pankaj Jangid <pankaj@codeisgreat.org>
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)


             reply	other threads:[~2024-03-14 11:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-14 11:52 Pankaj Jangid [this message]
2024-03-14 15:17 ` bug#69796: [PATCH] Added language server for Move to eglot Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2cyrx81yo.fsf@codeisgreat.org \
    --to=pankaj@codeisgreat.org \
    --cc=69796@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).