mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-08 19:31:31 +00:00
nvim-notify: fix some stuff
This commit is contained in:
parent
99a4eafa34
commit
5d898da816
2 changed files with 5 additions and 13 deletions
|
@ -14,17 +14,9 @@ in {
|
|||
startPlugins = ["nvim-notify"];
|
||||
|
||||
pluginRC.nvim-notify = entryAnywhere ''
|
||||
require('notify').setup(${toLuaObject cfg.setupOpts})
|
||||
|
||||
-- required to fix offset_encoding errors
|
||||
local notify = vim.notify
|
||||
vim.notify = function(msg, ...)
|
||||
if msg:match("warning: multiple different client offset_encodings") then
|
||||
return
|
||||
end
|
||||
|
||||
notify(msg, ...)
|
||||
end
|
||||
local notify = require("notify")
|
||||
notify.setup(${toLuaObject cfg.setupOpts})
|
||||
vim.notify = notify
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue