fix(nvim): suppress filetype highlight in notify windows

This commit is contained in:
Oliver
2026-03-13 15:10:33 +01:00
parent 669411f279
commit 77dc5e935f

View File

@@ -1,6 +1,12 @@
return {
"rcarriga/nvim-notify",
event = "VeryLazy",
opts = {
on_open = function(win)
local buf = vim.api.nvim_win_get_buf(win)
vim.api.nvim_buf_set_option(buf, "filetype", "")
end,
},
config = function(_, opts)
require("notify").setup(opts)
vim.notify = require("notify")