Skip to content

Commit

Permalink
feat: show warning when running with TUI rework
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jan 10, 2023
1 parent 8b3b3f0 commit cf2231b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/noice/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function M.setup(opts)
local ui = vim.api.nvim_list_uis()[1]
if ui and ui.chan == 1 and ui.ext_termcolors then
vim.notify(
[[noice.nvim is currently unstable on nightly. For more details,
[[**noice.nvim** is currently unstable on nightly. For more details,

This comment has been minimized.

Copy link
@ranjithshegde

ranjithshegde Jan 10, 2023

Contributor

Would this need to be on every vim launch? Since noice loads vim.notify for me and probably many others, this is a blocking statement that requires manual CR to start doing anything in vim

This comment has been minimized.

Copy link
@folke

folke Jan 10, 2023

Author Owner

Good point. I've moved the message till after Noice loads.

This comment has been minimized.

Copy link
@ranjithshegde

ranjithshegde Jan 10, 2023

Contributor

That was some response time! Thanks for your tireless work!

see https://github.com/folke/noice.nvim/issues/298
]],
vim.log.levels.WARN,
Expand Down

0 comments on commit cf2231b

Please sign in to comment.