
- folding - hints (big one, im still figuring out some things about it) - rest-client - typescript mod for the hints (will eventually
26 lines
748 B
Lua
26 lines
748 B
Lua
return {
|
|
{
|
|
"lvimuser/lsp-inlayhints.nvim",
|
|
init = function()
|
|
vim.api.nvim_create_autocmd("LspAttach", {
|
|
group = vim.api.nvim_create_augroup("LspAttach_inlayhints", {}),
|
|
callback = function(args)
|
|
if not (args.data and args.data.client_id) then
|
|
return
|
|
end
|
|
local client = vim.lsp.get_client_by_id(args.data.client_id)
|
|
if client.server_capabilities.inlayHintProvider then
|
|
local inlayhints = require("lsp-inlayhints")
|
|
inlayhints.on_attach(client, args.buf)
|
|
end
|
|
end,
|
|
})
|
|
end,
|
|
opts = {},
|
|
},
|
|
{
|
|
"simrat39/rust-tools.nvim",
|
|
optional = true,
|
|
opts = { tools = { inlay_hints = { auto = false } } },
|
|
},
|
|
}
|