go.nvim icon indicating copy to clipboard operation
go.nvim copied to clipboard

Bug: diagnostic api change not work in neovim 0.10.

Open chaozwn opened this issue 1 year ago • 2 comments

chaozwn avatar May 19 '24 05:05 chaozwn

Link Issue: https://github.com/AstroNvim/AstroNvim/issues/2603

It is normal after disable_defaults = true is set. It is caused by the diagnostic api change of neovim 0.10

chaozwn avatar May 19 '24 05:05 chaozwn

You may need to define your own signs table here. go.nvim already using diagnostic.config to setup signs, which comply with neovim 0.1x requirements.

  diagnostic = { -- set diagnostic to false to disable diagnostic
    hdlr = false, -- hook diagnostic handler and send error to quickfix
    underline = true,
    -- virtual text setup
    virtual_text = { spacing = 0, prefix = '■' },
    update_in_insert = false,
    signs = true,  -- use a table to configure the signs texts
  }

ray-x avatar May 20 '24 10:05 ray-x