Attach inlay hints on lsp attach
This commit is contained in:
parent
e99496fd2b
commit
ece83c7ea5
@ -57,7 +57,10 @@ lsp.on_attach(function(client, bufnr)
|
|||||||
vim.keymap.set('n', '[d', function() vim.diagnostic.goto_next() end, opts)
|
vim.keymap.set('n', '[d', function() vim.diagnostic.goto_next() end, opts)
|
||||||
vim.keymap.set('n', ']d', function() vim.diagnostic.goto_prev() end, opts)
|
vim.keymap.set('n', ']d', function() vim.diagnostic.goto_prev() end, opts)
|
||||||
vim.keymap.set('i', '<C-h>', function() vim.lsp.buf.signature_help() end, opts)
|
vim.keymap.set('i', '<C-h>', function() vim.lsp.buf.signature_help() end, opts)
|
||||||
end)
|
|
||||||
|
local ih = require('simrat39/inlay-hints')
|
||||||
|
ih.on_attach(client, bufnr)
|
||||||
|
end)
|
||||||
|
|
||||||
lsp.setup()
|
lsp.setup()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user