File tree 1 file changed +9
-10
lines changed
1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,6 @@ M.api = Api
10
10
11
11
--- @param opts ? NoiceConfig
12
12
function M .setup (opts )
13
- local ui = vim .api .nvim_list_uis ()[1 ]
14
- if ui and ui .chan == 1 and ui .ext_termcolors then
15
- vim .notify (
16
- [[ **noice.nvim** is currently unstable on nightly. For more details,
17
- see https://github.com/folke/noice.nvim/issues/298
18
- ]] ,
19
- vim .log .levels .WARN ,
20
- { title = " noice.nvim" }
21
- )
22
- end
23
13
-- run some checks before setting up
24
14
if not Health .check ({ checkhealth = false , loaded = false }) then
25
15
return
@@ -32,6 +22,15 @@ see https://github.com/folke/noice.nvim/issues/298
32
22
require (" noice.message.router" ).setup ()
33
23
M .enable ()
34
24
end )
25
+ local ui = vim .api .nvim_list_uis ()[1 ]
26
+ if ui and ui .chan == 1 and ui .ext_termcolors then
27
+ vim .notify (
28
+ [[ **noice.nvim** is currently unstable on nightly. For more details,
29
+ see https://github.com/folke/noice.nvim/issues/298]] ,
30
+ vim .log .levels .WARN ,
31
+ { title = " noice.nvim" }
32
+ )
33
+ end
35
34
end
36
35
37
36
if vim .v .vim_did_enter == 0 then
You can’t perform that action at this time.
0 commit comments