Justin M. Keyes
Justin M. Keyes
ok, done: https://crates.io/users/justinmk
Thanks!
is this the same as https://github.com/neovim/nvim-lspconfig/issues/3858 ? anything in `nvim-lspconfig/lua/lspconfig/*` is deprecated. so it's more useful to discussion the `lsp/*` case, which based on that issue has the same problem.
> Perhaps it's not a good idea to use Neovim v0.11.2+ with the legacy API. It should work just fine. But everything in `lua/lspconfig/*` will be deleted, so fixing any...
> The best remedy I have right now is to always use cwd or something here: Using CWD is fragile, but if the eslint LS requires a CLI arg then...
@echasnovski noted: > currently doesn't support Vimscript variables, Lua global variables, So this is less compelling until `vim._with()` gains support for those. It also is a reminder that `nvim_get_context()` and...
> I don't think it is a valid replacement for the `b:undo_ftplugin` because it fundamentally limits (to what `vim._with` supports as a context) of what ftplugin can set and later...
the new config, unlike the old one, checks for a `oxlint` field in the json: https://github.com/neovim/nvim-lspconfig/blob/46434074f188e6bfccf9d9153dd8be6b1381498b/lsp/oxlint.lua#L27 > even if I manually replace the new root_dir function with the older one....
> revert to the previous approach of searching directly for a .oxlintrc.json that would allow the use of `root_markers`, then we can drop the `root_dir()` entirely. wdyt @maximtrp
> If I open monorepo-starter/packages/hono-starter/src/index.ts with the default config, the lsp does attach and the root directory for oxlint is monorepo-starter/packages/hono-starter, ~~that definitely seems like the correct ws root.~~ >...