🗑️ remove(nvim): root and cwd declaration on the biome extra

is not needed after last updates from conform and lspconfig
This commit is contained in:
Sergio Laín 2024-01-29 10:12:11 +01:00
parent 53bb765fa5
commit 656eadbb1d
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -10,10 +10,7 @@ return {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
opts = { opts = {
servers = { servers = {
biome = { biome = {},
root_dir = require("lspconfig").util.root_pattern("biome.json"),
single_file_support = false,
},
}, },
}, },
}, },
@ -40,7 +37,6 @@ return {
}) })
opts.formatters = { opts.formatters = {
cwd = require("conform.util").root_file({ "biome.json" }),
biome = { biome = {
condition = function(self, ctx) condition = function(self, ctx)
return vim.fs.find({ "biome.json" }, { path = ctx.filename, upward = true })[1] return vim.fs.find({ "biome.json" }, { path = ctx.filename, upward = true })[1]