From 58b470132119f01883ef68411adf62f65d91a0e9 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Fri, 6 Jun 2025 17:29:57 +0900 Subject: updates --- ar/.config/TheSiahxyz/lua/thesiahxyz/core/autocmds.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/core/autocmds.lua') diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/core/autocmds.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/core/autocmds.lua index 861128c..2c33f4f 100644 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/core/autocmds.lua +++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/core/autocmds.lua @@ -64,8 +64,12 @@ autocmd("FileType", { group = augroup("close_with_q"), pattern = { "checkhealth", + "dbout", + "gitsigns-blame", + "grug-far", "help", "lspinfo", + "Lazy", "neotest-output", "neotest-output-panel", "neotest-summary", @@ -94,6 +98,17 @@ autocmd("FileType", { end, }) +-- Show LSP diagnostics (inlay hints) in a hover window / popup lamw26wmal +vim.api.nvim_create_autocmd({ "CursorHold", "CursorHoldI" }, { + group = augroup("float_diagnostic"), + callback = function() + vim.diagnostic.open_float(nil, { + focus = false, + border = "rounded", + }) + end, +}) + -- Make it easier to close man-files when opened inline autocmd("FileType", { group = augroup("man_close"), -- cgit v1.2.3