From 78c51f3e8fc653bad330b0c96b54ebf7b43625b9 Mon Sep 17 00:00:00 2001 From: m3tam3re Date: Mon, 14 Oct 2024 11:57:04 +0200 Subject: [PATCH] +nvim nixd --- nvim/init.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nvim/init.lua b/nvim/init.lua index e0266a7..522453c 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -555,7 +555,6 @@ require('lazy').setup({ -- - settings (table): Override the default settings passed when initializing the server. -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/ local servers = { - nixd = {}, -- clangd = {}, -- gopls = {}, -- pyright = {}, @@ -604,7 +603,7 @@ require('lazy').setup({ -- -- You can press `g?` for help in this menu require('mason').setup() - + require('lspconfig').nixd.setup {} -- You can add other tools here that you want Mason to install -- for you, so that they are available from within Neovim. local ensure_installed = vim.tbl_keys(servers or {}) @@ -638,7 +637,7 @@ require('lazy').setup({ }, formatters_by_ft = { lua = { 'stylua' }, - nix = { 'nixfmt' }, + nix = { 'alejandra -q -' }, -- Conform can also run multiple formatters sequentially -- python = { "isort", "black" }, --