utils
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
---
|
||||
--- `biome` supports monorepos by default. It will automatically find the `biome.json` corresponding to the package you are working on, as described in the [documentation](https://biomejs.dev/guides/big-projects/#monorepo). This works without the need of spawning multiple instances of `biome`, saving memory.
|
||||
|
||||
local util = require 'lspconfig.util'
|
||||
local utils = require('utils')
|
||||
|
||||
---@type vim.lsp.Config
|
||||
return {
|
||||
@@ -65,7 +65,7 @@ return {
|
||||
-- We know that the buffer is using Biome if it has a config file
|
||||
-- in its directory tree.
|
||||
local filename = vim.api.nvim_buf_get_name(bufnr)
|
||||
biome_config_files = util.insert_package_json(biome_config_files, 'biomejs', filename)
|
||||
biome_config_files = utils.insert_package_json(biome_config_files, 'biomejs', filename)
|
||||
local is_buffer_using_biome = vim.fs.find(biome_config_files, {
|
||||
path = filename,
|
||||
type = 'file',
|
||||
|
||||
Reference in New Issue
Block a user