🗑️ 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:
parent
53bb765fa5
commit
656eadbb1d
1 changed files with 1 additions and 5 deletions
|
@ -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]
|
||||||
|
|
Loading…
Add table
Reference in a new issue