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