neovim: go inlay hints, codelens and stuff

This commit is contained in:
2023-11-17 19:54:54 +03:00
parent 665552ff21
commit 63d9dfb769
3 changed files with 45 additions and 14 deletions

View File

@@ -24,3 +24,11 @@ vim.api.nvim_create_autocmd("BufWinEnter", {
vim.keymap.set("n", "<leader>p", ":Git push<CR>", opts)
end,
})
vim.api.nvim_create_autocmd({ "BufEnter", "CursorHold", "InsertLeave" }, {
pattern = "*",
group = group,
callback = function()
vim.lsp.codelens.refresh()
end,
})