From 2bc5cc52df9d10897594ee86d4c82ea608555077 Mon Sep 17 00:00:00 2001 From: Harivansh Rathi Date: Sun, 19 Apr 2026 14:39:23 -0400 Subject: [PATCH] chore: fix error --- config/nvim/init.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config/nvim/init.lua b/config/nvim/init.lua index 1f8b047..916eeff 100644 --- a/config/nvim/init.lua +++ b/config/nvim/init.lua @@ -1,6 +1,18 @@ vim.g.mapleader = " " vim.g.maplocalleader = "," +-- Silence the "defaults.lua: Did not detect DSR response from terminal" +vim.opt.background = "dark" +do + local orig_notify = vim.notify + vim.notify = function(msg, level, opts) + if type(msg) == "string" and msg:find("Did not detect DSR response", 1, true) then + return + end + return orig_notify(msg, level, opts) + end +end + local home = os.getenv "HOME" or "" local local_bin = home .. "/.local/bin" if not (os.getenv "PATH" or ""):find(local_bin, 1, true) then