Loading nvim/lspconfig so that the lsp folder overrides the plugin defaults
#2032
-
|
I've been scratching my head for a while and can't seem to find any resources in the related repos or docs. Versions:
My goal is to load return {
{
"neovim/nvim-lspconfig",
lazy = false,
setup = function()
vim.lsp.config("ts_ls", {
cmd = { "mise", "x", "bun@latest", "--", "bunx", "--bun", "typescript-language-server", "--stdio" },
})
end,
}
}I've also got the same configuration in return {
cmd = { "mise", "x", "bun@latest", "--", "bunx", "--bun", "typescript-language-server", "--stdio" },
}I've already tried moving the lsp configuration into the setup function, since the docs for the lsp suggest that they are merged last. However, when I print the loaded Would love some pointers on where I'm going wrong! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I was using the incorrect option. You want |
Beta Was this translation helpful? Give feedback.
I was using the incorrect option. You want
config: