Update to use the new api for inlay hints that cme with 0.10
This commit is contained in:
parent
007ade1369
commit
9d6927225c
3 changed files with 4 additions and 4 deletions
|
|
@ -14,7 +14,7 @@ return {
|
|||
},
|
||||
server = {
|
||||
on_attach = function(client, bufnr)
|
||||
vim.lsp.inlay_hint.enable(bufnr, true)
|
||||
vim.lsp.inlay_hint.enable(true, { bufnr = bufnr })
|
||||
|
||||
if client.server_capabilities.documentFormattingProvider then
|
||||
vim.api.nvim_buf_create_user_command(bufnr, "Format", vim.lsp.buf.format, { nargs = 0 })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue