nvim-neorg / neorg

Modernity meets insane extensibility. The future of organizing your life in Neovim.
GNU General Public License v3.0
6.1k stars 204 forks source link

Less intrusive logs #1436

Open glyh opened 1 month ago

glyh commented 1 month ago

Issues

Feature description

For now anyone using neorg without mods on the notifiers are thrown into face with log message whenever neorg tries to pull dependency via build.lua.

It would be nicer if the messages are not thrown into user's face. I.e. the message is logged but no key need to be pressed to continue editing the texts. I think nvim-treesitter's log is a perfectly fine model to mimic.

Help

Yes

Implementation help

Need help on instructing where the logs are printted.

glyh commented 1 month ago

image

benlubas commented 1 month ago

this is more of a failure of nvim's messages, specifically :h press-enter messages. There's a nice rant about these in the noice.nvim docs, and noice.nvim does a good job of dealing with them if you don't like press enter messages. Alternatively, nvim-notify will also rid you of press enter messages.

Nvim treesitter can trigger press-enter messages too