12 releases (stable)

new 1.6.0 Apr 25, 2024
1.5.0 Mar 12, 2024
1.4.1 Jan 25, 2024
1.3.0 Nov 16, 2023
0.1.0 Mar 9, 2022

#1624 in Development tools

Download history 19/week @ 2024-01-04 6/week @ 2024-01-11 18/week @ 2024-01-25 3/week @ 2024-02-08 88/week @ 2024-02-15 24/week @ 2024-02-22 18/week @ 2024-02-29 123/week @ 2024-03-07 46/week @ 2024-03-14 8/week @ 2024-03-21 21/week @ 2024-03-28 20/week @ 2024-04-04 6/week @ 2024-04-11

59 downloads per month

MIT and LGPL-3.0-only

1.5MB
32K SLoC

Nickel Language Server

The Nickel Language Server (NLS) is a language server for the Nickel programming language. NLS offers error messages, type hints, and auto-completion right in your favorite LSP-enabled editor.

NLS is a stand-alone binary. Once built, you must then configure you code editor to use it for Nickel source files. This document covers building NLS and using it in VSCode, (Neo)Vim and Emacs.

Formatting Capabilities

Warning: because the cargo registry (crates.io) requires that all dependencies of Nickel are published there as well, the format feature isn't enabled when installing nls with cargo install as of NLS version 1.3.0. In this case, to enable formatting in NLS, you have to make the topiary executable available in your PATH. Please follow Topiary's setup instructions and ensure in particular that the environment variable TOPIARY_LANGUAGE_DIR is correctly set (this is covered in the setup instructions).

Formatting in nls is currently based on Topiary, used as a library. No configuration or external dependencies are necessary.

Dependencies

~28–41MB
~631K SLoC