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

This commit is contained in:
Itamar Lencovsky 2023-11-03 17:40:08 +10:00 committed by GitHub
parent 47273b8ac9
commit 47dd8f4f88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -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,
},

View File

@ -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,
},

View File

@ -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,