From 3133e85b0b330aec01660daedc307576e2a7ce21 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Thu, 27 Jun 2024 22:27:23 -0700 Subject: [PATCH] nix update --- lua/plugins/conform.lua | 1 + lua/plugins/lspconfig.lua | 21 ++++++++++----------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lua/plugins/conform.lua b/lua/plugins/conform.lua index ab5add3..eac3522 100644 --- a/lua/plugins/conform.lua +++ b/lua/plugins/conform.lua @@ -3,6 +3,7 @@ return { opts = { formatters_by_ft = { sql = { "sql_formatter" }, + nix = { "nixpgs_fmt" }, }, }, } diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index a7041bd..79d2ebd 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -6,17 +6,16 @@ return { opts = { -- -@type lspconfig.options servers = { - -- pyright will be automatically installed with mason and loaded with lspconfig - nil_ls = { - mason = false, - settings = { - ["nil"] = { - formatting = { - command = { "nixpkgs-fmt" }, - }, - }, - }, - }, + -- nil_ls = { + -- mason = false, + -- settings = { + -- ["nil"] = { + -- formatting = { + -- command = { "nixpkgs-fmt" }, + -- }, + -- }, + -- }, + -- }, lua_ls = { mason = false, },