Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxmx03/diagpop.nvim
DiagFloat is a Neovim plugin that enhances your coding experience by displaying diagnostic messages in customizable floating windows.
https://github.com/maxmx03/diagpop.nvim
diagnostics lua neovim plugin
Last synced: 7 days ago
JSON representation
DiagFloat is a Neovim plugin that enhances your coding experience by displaying diagnostic messages in customizable floating windows.
- Host: GitHub
- URL: https://github.com/maxmx03/diagpop.nvim
- Owner: maxmx03
- License: mit
- Created: 2024-08-22T13:40:28.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-09T22:07:45.000Z (about 1 month ago)
- Last Synced: 2024-10-29T23:13:24.621Z (20 days ago)
- Topics: diagnostics, lua, neovim, plugin
- Language: Lua
- Homepage:
- Size: 14.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Diagpop
DiagFloat is a Neovim plugin that enhances your coding experience by
displaying diagnostic messages in customizable floating windows![2024-08-24 22-30-10 (1)](https://github.com/user-attachments/assets/9f95d768-ce90-48c4-b28a-c9a070a49105)
## Installation
[lazy.nvim](https://github.com/folke/lazy.nvim)
```lua
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](https://github.com/junegunn/vim-plug)
```vim
Plug 'maxmx03/diagpop.nvim'
Plug 'nvim-tree/nvim-web-devicons'
``````lua
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
}
```