mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-20 01:00:31 +00:00
chore: fix error
This commit is contained in:
parent
987df46386
commit
2bc5cc52df
1 changed files with 12 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue