Compare commits
No commits in common. "58f3680d3c352446dd632cc5da01e315972eddb9" and "e3172d4163460f53c8f410c9cbd383ac88e87b44" have entirely different histories.
58f3680d3c
...
e3172d4163
|
@ -26,7 +26,7 @@
|
|||
|
||||
-- Display invisible characters.
|
||||
-- vim.cmd("set list listchars=tab:>\\ ,trail:-,eol:,lead:.")
|
||||
vim.cmd("set list listchars=tab:>\\ ,trail:-,lead:·")
|
||||
vim.cmd("set list listchars=tab:>\\ ,trail:-,lead:.")
|
||||
|
||||
-- Relative line numbers.
|
||||
vim.wo.relativenumber = true
|
||||
|
|
|
@ -5,15 +5,12 @@
|
|||
|
||||
-- Disable error messages popup.
|
||||
-- Instead print them and write to /tmp/NeovimError<PID>.txt
|
||||
bequiet = function(msg, log_level, opts)
|
||||
print(string.sub(tostring(msg), 1, vim.v.echospace))
|
||||
vim.notify = function(msg, log_level, opts)
|
||||
print(string.sub(msg, 1, vim.v.echospace))
|
||||
|
||||
local file = io.open("/tmp/NeovimError"..tostring(pid)..".txt", "a")
|
||||
file:write(msg.."\n")
|
||||
file:close()
|
||||
end
|
||||
|
||||
vim.notify = bequiet
|
||||
vim.api.nvim_err_writeln = bequiet
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue