unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#63603: [PATCH] Eglot: Add nickel-mode configuration
@ 2023-05-20  8:47 Brian Leung
  2023-05-25 12:31 ` Brian Leung
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Leung @ 2023-05-20  8:47 UTC (permalink / raw)
  To: 63603

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

Tags: patch

Nickel is a new configuration language: https://github.com/tweag/nickel/

This patch adds a default for its major mode to Eglot.



In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
version 1.16.0, Xaw3d scroll bars)
Repository revision: 156973639cc57dec47705f76f63c2ef3dc00a61d
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101008
System Description: NixOS 23.05 (Stoat)

Configured using:
 'configure
 --prefix=/nix/store/inldcx98i03hfwjzqhnnzm4qdaq17aqq-emacs-git-20230519.0
 --disable-build-details --with-modules --with-x-toolkit=lucid
 --with-xft --with-cairo --with-native-compilation'


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Eglot-Add-nickel-mode-configuration.patch --]
[-- Type: text/patch, Size: 1099 bytes --]

From fc343cb0d413ac44d55e39c768327c66a005e29b Mon Sep 17 00:00:00 2001
From: Brian Leung <leungbk@posteo.net>
Date: Sat, 20 May 2023 01:43:52 -0700
Subject: [PATCH] Eglot: Add nickel-mode configuration

* lisp/progmodes/eglot.el (eglot-server-programs): Add nls for nickel-mode.
---
 lisp/progmodes/eglot.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index a65795f1dfc..f4604ff31e8 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -231,6 +231,7 @@ eglot-server-programs
                                 (erlang-mode . ("erlang_ls" "--transport" "stdio"))
                                 ((yaml-ts-mode yaml-mode) . ("yaml-language-server" "--stdio"))
                                 (nix-mode . ,(eglot-alternatives '("nil" "rnix-lsp")))
+                                (nickel-mode . ("nls"))
                                 (gdscript-mode . ("localhost" 6008))
                                 ((fortran-mode f90-mode) . ("fortls"))
                                 (futhark-mode . ("futhark" "lsp"))
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#63603: [PATCH] Eglot: Add nickel-mode configuration
  2023-05-20  8:47 bug#63603: [PATCH] Eglot: Add nickel-mode configuration Brian Leung
@ 2023-05-25 12:31 ` Brian Leung
  2023-05-25 13:22   ` João Távora
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Leung @ 2023-05-25 12:31 UTC (permalink / raw)
  To: 63603; +Cc: João Távora

CCing João Távora.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#63603: [PATCH] Eglot: Add nickel-mode configuration
  2023-05-25 12:31 ` Brian Leung
@ 2023-05-25 13:22   ` João Távora
  0 siblings, 0 replies; 3+ messages in thread
From: João Távora @ 2023-05-25 13:22 UTC (permalink / raw)
  To: Brian Leung; +Cc: 63603-done

Thanks, pushed.

And closing.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-25 13:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-20  8:47 bug#63603: [PATCH] Eglot: Add nickel-mode configuration Brian Leung
2023-05-25 12:31 ` Brian Leung
2023-05-25 13:22   ` João Távora

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).