summaryrefslogtreecommitdiff
path: root/ar/.config/TheSiahxyz/lua/thesiahxyz/core/autocmds.lua
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-06 17:29:57 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-06 17:29:57 +0900
commit58b470132119f01883ef68411adf62f65d91a0e9 (patch)
tree307fbb954892feeea35e6fe343032e59893df714 /ar/.config/TheSiahxyz/lua/thesiahxyz/core/autocmds.lua
parent7abaacdd7b7ebadaa6833c200eead4e84cb236d8 (diff)
updates
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/core/autocmds.lua')
-rw-r--r--ar/.config/TheSiahxyz/lua/thesiahxyz/core/autocmds.lua15
1 files changed, 15 insertions, 0 deletions
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"),