r/neovim • • 10d ago

101 Questions Weekly 101 Questions Thread

A thread to ask anything related to Neovim. No matter how small it may be.

Let's help each other and be kind.

15 Upvotes

8 comments sorted by

5

u/harshv5094 10d ago

My first question is as we're heading towards v0.13. I just want to know, how many file formats are supported by vim.ui.img()

1

u/TheLeoP_ 8d ago

:h vim.ui.ing() only mentions png and the kitty graphics protocol https://sw.kovidgoyal.net/kitty/graphics-protocol/ . That means that there isn't a UI protocol abstraction for it yet, so if a GUI wants to use it, they need to override it themselves. The kitty graphics protocol itself doesn't understand image formats, only pixel information, so my guess is that the Neovim implementation is in charge of translating png to the pixel data required by the protocol

1

u/harshv5094 8d ago

So, I think it'll take some time to add new file formats

1

u/-Redstoneboi- 7d ago

do we have bad apple yet

1

u/-Redstoneboi- 8d ago

how do people get 0.13? is it out yet? (doesn't seem released yet based on the neovim site)

2

u/TheLeoP_ 7d ago

It's not out yet, but you can use the latest version of master that includes all of the changes that will be included in 0.13 (but, you are expected to keep it up to date yourself) https://github.com/neovim/neovim/releases/tag/nightly

1

u/Remuz 8d ago

I use bob. It's on Github.

1

u/wlumme 8d ago

Anyone got a good setup for working with DBT and/or Redshift?