mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(type): better hinting vim.diagnostic.Opts
|nvim_open_win()| in fact does support border option:
```lua
float = {{"char", "hlgroup"}, ...} | {"char", ...}
```
This commit is contained in:
parent
12818a6cb4
commit
080fbecc8a
1 changed files with 7 additions and 0 deletions
|
|
@ -22,3 +22,10 @@ _G.LazyVim = require("lazyvim.util")
|
|||
--- @param opts vim.api.keyset.create_autocmd.opts
|
||||
--- @return integer
|
||||
function vim.api.nvim_create_autocmd(event, opts) end
|
||||
|
||||
|
||||
---@class vim.diagnostic.config.Opts: vim.diagnostic.Opts
|
||||
---@field float? vim.diagnostic.config.Opts.Float
|
||||
---
|
||||
---@class vim.diagnostic.config.Opts.Float: vim.diagnostic.Opts.Float
|
||||
---@field border? string | string[] | string[][]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue