New configuration for float window/popup #3351
Replies: 6 comments 7 replies
-
Now, coc looks more modern to me. edited: has supported |
Beta Was this translation helpful? Give feedback.
-
When there's border in docs float, it gives the impression that the docs float is smaller/bellow than the pum menu (which can't have a border at all sadly) because the top border of the doc float occupies line height, with actual border line lying at the middle, hence it's unaligned with pum whose background covers all the line contents as a whole, giving the impression of an outer edge. I don't have much idea whether that could be made better. |
Beta Was this translation helpful? Give feedback.
-
edit Works on neovim 0.4.4 so using that for now, will open an issue when I look into it further. My floating windows used to work, now no longer. Using coc.nvim + nvim 0.5.1 + clangd When I run Could you explain what this means? And also it would be great: what should I do about it? Same behaviour with nvim 0.5.0 (stable) and 0.5.1. Interestingly sometimes I do see the floating window as it flickers up then shuts. Sorry if this isn't the appropriate place to post this, I'll submit an issue if necessary instead. |
Beta Was this translation helpful? Give feedback.
-
@Arghnews I run 0.5.1 and have no issues, either with functionality as with the help entry. |
Beta Was this translation helpful? Give feedback.
-
Added configurations:
suggest.floatConfig
,diagnostic.floatConfig
,signature.floatConfig
andhover.floatConfig
,following properties are supported:
border
: Change totrue
to enable border.highlight
: Background highlight group of float window.title
: Title used by float window.borderhighlight
: Border highlight group of float window.close
: Set to true to draw close icon.maxWidth
: Maximum width of float window, contains border.maxHeight
: Maximum height of float window, contains border.winblend
: Set 'winblend' option of window, neovim only.focusable
: Set to false to make window not focusable, neovim only.shadow
: Set to true to enable shadow, neovim only.To make sure it's available, run
:h coc-config-float
.Following configurations was removed:
hover.floatMaxWidth
hover.floatMaxHeight
suggest.maxPreviewWidth
diagnostic.maxWindowHeight
diagnostic.maxWindowWidth
signature.maxWindowWidth
signature.maxWindowHeight
Start from commit eb47e40
Beta Was this translation helpful? Give feedback.
All reactions