You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lsp-inlayhints.lua (error file) looks like this:
localstatus_ok, hints=pcall(require, "lsp-inlayhints")
ifnotstatus_okthenreturnendlocalgroup=vim.api.nvim_create_augroup("LspAttach_inlayhints", {})
vim.api.nvim_create_autocmd("LspAttach", {
group="LspAttach_inlayhints",
callback=function(args)
ifnot (args.dataandargs.data.client_id) thenreturnendlocalclient=vim.lsp.get_client_by_id(args.data.client_id)
require("lsp-inlayhints").on_attach(client, args.buf)
end,
})
hints.setup {
inlay_hints= {
parameter_hints= {
show=false,
-- prefix = "<- ",separator=", ",
},
type_hints= {
-- type and other hintsshow=true,
prefix="",
separator=", ",
remove_colon_end=false,
remove_colon_start=false,
},
-- separator between types and parameter hints. Note that type hints are-- shown before parameterlabels_separator="",
-- whether to align to the length of the longest line in the filemax_len_align=false,
-- padding from the left if max_len_align is truemax_len_align_padding=1,
-- whether to align to the extreme right or notright_align=false,
-- padding from the right if right_align is trueright_align_padding=7,
-- highlight grouphighlight="Comment",
},
debug_mode=false,
}
Does anyone know what is going on?
The text was updated successfully, but these errors were encountered:
I'm seeing this error and its not going away.
The
lsp-inlayhints.lua
(error file) looks like this:Does anyone know what is going on?
The text was updated successfully, but these errors were encountered: