rename the spacing key for the diagnostic virtual text to match the spec (#395)

pull/399/head
Itamar Lencovsky 8 months ago committed by GitHub
parent 47273b8ac9
commit 47dd8f4f88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -783,7 +783,7 @@ require('go').setup({
hdlr = false, -- hook lsp diag handler and send diag to quickfix
underline = true,
-- virtual text setup
virtual_text = { space = 0, prefix = '■' },
virtual_text = { spacing = 0, prefix = '■' },
signs = true,
update_in_insert = false,
},

@ -394,7 +394,7 @@ You can setup go.nvim with following options:
hdlr = false, -- hook lsp diag handler and send diag to quickfix
underline = true,
-- virtual text setup
virtual_text = { space = 0, prefix = '■' },
virtual_text = { spacing = 0, prefix = '■' },
signs = true,
update_in_insert = false,
},

@ -46,7 +46,7 @@ _GO_NVIM_CFG = {
hdlr = false, -- hook diagnostic handler and send error to quickfix
underline = true,
-- virtual text setup
virtual_text = { space = 0, prefix = '' },
virtual_text = { spacing = 0, prefix = '' },
update_in_insert = false,
signs = true,
},
@ -54,7 +54,7 @@ _GO_NVIM_CFG = {
-- lsp_diag_hdlr = true, -- hook lsp diag handler
-- lsp_diag_underline = true,
-- -- virtual text setup
-- lsp_diag_virtual_text = { space = 0, prefix = '■' },
-- lsp_diag_virtual_text = { spacing = 0, prefix = '■' },
-- lsp_diag_signs = true,
lsp_inlay_hints = {
enable = true,

Loading…
Cancel
Save