From 656eadbb1db15eb41d269b0ccf37b996201fe218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Mon, 29 Jan 2024 10:12:11 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20remove(nvim):=20root=20?= =?UTF-8?q?and=20cwd=20declaration=20on=20the=20biome=20extra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit is not needed after last updates from conform and lspconfig --- .config/nvim/lua/plugins/extras/linting/biome.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.config/nvim/lua/plugins/extras/linting/biome.lua b/.config/nvim/lua/plugins/extras/linting/biome.lua index aa0d82f5..72af89c5 100644 --- a/.config/nvim/lua/plugins/extras/linting/biome.lua +++ b/.config/nvim/lua/plugins/extras/linting/biome.lua @@ -10,10 +10,7 @@ return { "neovim/nvim-lspconfig", opts = { servers = { - biome = { - root_dir = require("lspconfig").util.root_pattern("biome.json"), - single_file_support = false, - }, + biome = {}, }, }, }, @@ -40,7 +37,6 @@ return { }) opts.formatters = { - cwd = require("conform.util").root_file({ "biome.json" }), biome = { condition = function(self, ctx) return vim.fs.find({ "biome.json" }, { path = ctx.filename, upward = true })[1]