master #1

Open
oli wants to merge 912 commits from master into lua
Showing only changes of commit 638293d7a8 - Show all commits

View File

@@ -51,6 +51,17 @@ local lspKeys = function(client, bufnr)
end,
{ noremap = true, silent = false, desc = 'Format visual', buffer = bufnr })
end
if client.supports_method('inlayHintProvider') then
vim.keymap.set('n', '<space>i', function()
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled({ bufnr = bufnr }), { bufnr = bufnr })
end,
{
noremap = true,
silent = false,
desc = 'Toggle inlay hints',
buffer = bufnr
})
end
end
local document_highlight = function(bufnr)