Nvim : Disable error messages, finally!
This commit is contained in:
parent
96f62a0ac9
commit
86e422dbf7
|
@ -51,6 +51,7 @@ in
|
|||
./module/config/Search.nix
|
||||
./module/config/Tab.nix
|
||||
./module/config/Highlight.nix
|
||||
./module/config/Notify.nix
|
||||
./module/plugin/Filetree.nix
|
||||
./module/plugin/Gruvbox.nix
|
||||
./module/plugin/Bufferline.nix
|
||||
|
|
9
home/config/nvim/module/config/Notify.nix
Normal file
9
home/config/nvim/module/config/Notify.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
{
|
||||
text = ''
|
||||
-- Disable error messages.
|
||||
vim.notify = function(msg, log_level, opts)
|
||||
return
|
||||
end
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue