From 1ab580be7378792eb67c1ab894655abcabe460b8 Mon Sep 17 00:00:00 2001 From: "Gustavo L de Mello (Guz)" Date: Sun, 8 Dec 2024 19:38:49 -0300 Subject: [PATCH] fix(lsp): nix support --- lua/dot013/plugins/lsp.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lua/dot013/plugins/lsp.lua b/lua/dot013/plugins/lsp.lua index 33d818b..4876bdb 100644 --- a/lua/dot013/plugins/lsp.lua +++ b/lua/dot013/plugins/lsp.lua @@ -69,7 +69,12 @@ local lsps = { ["html"] = nil, ["htmx"] = nil, ["jsonls"] = nil, - ["nil_ls"] = nil, + ["nil_ls"] = { + cmd = { "nil" }, + filetypes = { "nix" }, + single_file_support = true, + root_dir = nil, + }, ["tailwindcss"] = nil, ["templ"] = nil, ["ts_ls"] = nil,