Skip to content

feat: support hoisted node_modules executables - #4497

Open
TrySound wants to merge 7 commits into
neovim:masterfrom
TrySound:feat/monorepo-node-executables
Open

feat: support hoisted node_modules executables#4497
TrySound wants to merge 7 commits into
neovim:masterfrom
TrySound:feat/monorepo-node-executables

Conversation

@TrySound

@TrySound TrySound commented Aug 12, 2026

Copy link
Copy Markdown

This is essential for monorepo projects where node_modules/.bin is not necessary the root.

Summary

  • search from each config root to the nearest package-manager lockfile or Git root for node_modules/.bin executables
  • preserve package-local precedence, global command fallback, existing workspace roots, and server-specific arguments
  • support all language servers updated by feat: use node_modules local executable if available #4386, including hoisted tsgolint discovery for Oxlint

Testing

  • make test
  • stylua --check .
  • bash .github/ci/lint.sh origin/master HEAD

make lint reaches EmmyLua but EmmyLua 0.25.0 reports two pre-existing errors in lsp/tinymist.lua and scripts/gen_annotations.lua, outside this change.

@TrySound
TrySound force-pushed the feat/monorepo-node-executables branch from 19850c9 to dfdd01a Compare August 12, 2026 22:46
@TrySound
TrySound force-pushed the feat/monorepo-node-executables branch from dfdd01a to 70884ac Compare August 19, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant