File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed
Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -101,17 +101,19 @@ vim.diagnostic.config({
101101 },
102102})
103103
104- handlers [" textDocument/publishDiagnostics" ] =
105- lsp .with (lsp .diagnostic .on_publish_diagnostics , {
106- underline = true ,
107- signs = true ,
108- update_in_insert = true ,
109- virtual_text = {
110- true ,
111- spacing = 6 ,
112- -- severity_limit='Error' -- Only show virtual text on error
113- },
114- })
104+ handlers [" textDocument/publishDiagnostics" ] = lsp .with (
105+ lsp .diagnostic .on_publish_diagnostics ,
106+ {
107+ underline = true ,
108+ signs = true ,
109+ update_in_insert = true ,
110+ virtual_text = {
111+ true ,
112+ spacing = 6 ,
113+ -- severity_limit='Error' -- Only show virtual text on error
114+ },
115+ }
116+ )
115117
116118handlers [" textDocument/hover" ] = lsp .with (handlers .hover , {border = " rounded" })
117119handlers [" textDocument/signatureHelp" ] = lsp .with (handlers .signature_help , {border = " rounded" })
You can’t perform that action at this time.
0 commit comments