diagpop.nvim

DiagFloat is a Neovim plugin that enhances your coding experience by displaying diagnostic messages in customizable floating windows.

MIT License

Stars
3
Committers
1

Diagpop

DiagFloat is a Neovim plugin that enhances your coding experience by displaying diagnostic messages in customizable floating windows

Installation

lazy.nvim

return {
  'maxmx03/diagpop.nvim',
  opts = {
    limit = 5,
    hl_group = 'FloatBorder',
    border = 'single', -- single, double, rounded, shadow, none
    relative = 'editor', -- editor, cursor
    -- filter
    severity = nil, -- vim.diagnostic.severity.ERROR | WARN | INFO | HINT
  },
  dependencies = {'nvim-tree/nvim-web-devicons'}
}

vim-plug

Plug 'maxmx03/diagpop.nvim'
Plug 'nvim-tree/nvim-web-devicons'
local diag = require 'diagpop'
diag.setup {
    limit = 5,
    hl_group = 'FloatBorder',
    border = 'single', -- single, double, rounded, shadow, none
    relative = 'editor', -- editor, cursor
    -- filter
    severity = nil, -- vim.diagnostic.severity.ERROR | WARN | INFO | HINT
}