@@ -120,7 +120,8 @@ function M.check(opts)
120
120
if Config .is_running () then
121
121
if Config .options .notify .enabled then
122
122
if vim .notify ~= require (" noice.source.notify" ).notify then
123
- log .error (" `vim.notify` has been overwritten by another plugin?" )
123
+ log .error ([[ `vim.notify` has been overwritten by another plugin?
124
+ Either disable the other plugin or set `config.notify.enabled = false`]] )
124
125
else
125
126
log .ok (" `vim.notify` is set to **Noice**" )
126
127
end
@@ -132,7 +133,8 @@ function M.check(opts)
132
133
133
134
if Config .options .lsp .hover .enabled then
134
135
if vim .lsp .handlers [" textDocument/hover" ] ~= Lsp .hover then
135
- log .error ([[ `vim.lsp.handlers["textDocument/hover"]` has been overwritten by another plugin?]] )
136
+ log .error ([[ `vim.lsp.handlers["textDocument/hover"]` has been overwritten by another plugin?
137
+ Disable the other plugin or set `config.lsp.hover.enabled = false`]] )
136
138
else
137
139
log .ok ([[ `vim.lsp.handlers["textDocument/hover"]` is handled by **Noice**]] )
138
140
end
@@ -144,7 +146,8 @@ function M.check(opts)
144
146
145
147
if Config .options .lsp .signature .enabled then
146
148
if vim .lsp .handlers [" textDocument/signatureHelp" ] ~= Lsp .signature then
147
- log .error ([[ `vim.lsp.handlers["textDocument/signatureHelp"]` has been overwritten by another plugin?]] )
149
+ log .error ([[ `vim.lsp.handlers["textDocument/signatureHelp"]` has been overwritten by another plugin?
150
+ Either disable the plugin, or set `config.lsp.signature.enabled = false`]] )
148
151
else
149
152
log .ok ([[ `vim.lsp.handlers["textDocument/signatureHelp"]` is handled by **Noice**]] )
150
153
end
0 commit comments