nix-lsp

A language server for Nix.

Go

Every Abstract node runs NixOS, so we write a lot of Nix. This is the editor support we wanted for it.

$ go install github.com/LunarHUE/nix-lsp@latest

GitHub

LSP

Editor

Speaks the Language Server Protocol over stdio, so any editor with an LSP client can use it.

vim.lsp.config("nix_lsp", { cmd = { "nix-lsp" }, filetypes = { "nix" } })
vim.lsp.enable("nix_lsp")
nix-lsp: a rack node taken apart