Skip to content

nickel-lang/nickel-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nickel-mode

MELPA Build Status

An emacs mode for the Nickel programming language.

Installation

Install from MELPA

LSP Integration

First, ensure you have the Nickel language server, nls, installed.

Add the following to your init.el:

(require 'nickel-mode)
(require 'lsp-mode)

(add-to-list 'lsp-language-id-configuration '(nickel-mode . "nickel"))
  (lsp-register-client (make-lsp-client
                           :new-connection (lsp-stdio-connection "nls")
			   :activation-fn (lsp-activate-on "nickel")
                           :server-id 'nls
                           :major-modes 'nickel-mode))
(add-hook 'nickel-mode-hook 'lsp-deferred)

About

An emacs mode for the Nickel language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •