migration to 0.12 complete
This commit is contained in:
parent
94fedd08d5
commit
bf3e4855b9
2 changed files with 30 additions and 8 deletions
2
init.lua
2
init.lua
|
|
@ -25,7 +25,7 @@ vim.lsp.enable({
|
|||
vim.api.nvim_create_autocmd("LspAttach", {
|
||||
callback = function(ev)
|
||||
local client = vim.lsp.get_client_by_id(ev.data.client_id)
|
||||
if client and client.supports_method('textDocument/inlayHint') then
|
||||
if client and client:supports_method('textDocument/inlayHint') then
|
||||
vim.lsp.inlay_hint.enable(true, { bufnr = ev.buf })
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue