From d840410047d20a8f93fb8d473599209ebe95584e Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sun, 26 Apr 2026 20:15:56 +0200 Subject: [PATCH 1/2] fix(oxc): prefer top-level oxlint root_dir in monorepos --- lua/lazyvim/plugins/extras/lang/typescript/oxc.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lua/lazyvim/plugins/extras/lang/typescript/oxc.lua b/lua/lazyvim/plugins/extras/lang/typescript/oxc.lua index d4efb30c..c2f35843 100644 --- a/lua/lazyvim/plugins/extras/lang/typescript/oxc.lua +++ b/lua/lazyvim/plugins/extras/lang/typescript/oxc.lua @@ -30,6 +30,15 @@ return { servers = { ---@type lspconfig.settings.oxlint oxlint = { + root_dir = function(bufnr, on_dir) + -- prefer the top-level oxlint config if it exists (monorepo support) + local git = vim.fs.root(bufnr, ".git") + local markers = { ".oxlintrc.json", ".oxlintrc.jsonc", "oxlint.config.ts" } + local root = git and vim.fs.root(git, markers) or vim.fs.root(bufnr, markers) + if root then + on_dir(root) + end + end, settings = { fixKind = "all", }, From 7c1301b89563198d1b2a295e673f6a7205adc076 Mon Sep 17 00:00:00 2001 From: folke <292349+folke@users.noreply.github.com> Date: Sun, 26 Apr 2026 18:17:07 +0000 Subject: [PATCH 2/2] chore(build): auto-generated vimdocs --- doc/LazyVim.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/LazyVim.txt b/doc/LazyVim.txt index 7802ea89..37675cf5 100644 --- a/doc/LazyVim.txt +++ b/doc/LazyVim.txt @@ -1,5 +1,5 @@ *LazyVim.txt* LazyVim docs - For Neovim Last change: 2026 April 22 + For Neovim Last change: 2026 April 26 ============================================================================== Table of Contents *LazyVim-table-of-contents*