<feed xmlns='http://www.w3.org/2005/Atom'>
<title>neovim/src/nvim/api/vim.c, branch master</title>
<subtitle>Vim-fork focused on extensibility and usability</subtitle>
<id>http://git.waynecole.info/neovim/atom?h=master</id>
<link rel='self' href='http://git.waynecole.info/neovim/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/neovim/'/>
<updated>2026-04-24T15:57:35Z</updated>
<entry>
<title>feat(api): nvim_echo(percent=nil) means "unknown" progress #39029</title>
<updated>2026-04-24T15:57:35Z</updated>
<author>
<name>Peter Cardenas</name>
<email>16930781+PeterCardenas@users.noreply.github.com</email>
</author>
<published>2026-04-24T15:57:35Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/neovim/commit/?id=27191e0f4f4f9086180a8fbe3e52c1c280a70b09'/>
<id>urn:sha1:27191e0f4f4f9086180a8fbe3e52c1c280a70b09</id>
<content type='text'>
Problem:
No way to signal "unknown" or "indeterminate" progress percentage.

Solution:
Treat percent=nil as "indeterminate" percent.</content>
</entry>
<entry>
<title>fix(api): expose fg_indexed/bg_indexed in nvim_get_hl #39210</title>
<updated>2026-04-20T09:12:52Z</updated>
<author>
<name>glepnir</name>
<email>glephunter@gmail.com</email>
</author>
<published>2026-04-20T09:12:52Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/neovim/commit/?id=01861c2f955119cc88158273e100b3490c3df6e1'/>
<id>urn:sha1:01861c2f955119cc88158273e100b3490c3df6e1</id>
<content type='text'>
Problem: fg_indexed/bg_indexed were dropped from nvim_get_hl output due
to a wrong short_keys guard. HL_FG_INDEXED also wasn't cleared in
hl_blend_attrs, and HLATTRS_DICT_SIZE was too small.

Solution: Remove the short_keys guard, clear HL_FG_INDEXED in
hl_blend_attrs, bump HLATTRS_DICT_SIZE to 24, and clarify docs that
these flags mean rgb is an approximation of the cterm palette index.</content>
</entry>
<entry>
<title>fix(lsp): limit number of created highlight groups (#39133)</title>
<updated>2026-04-18T00:16:11Z</updated>
<author>
<name>Evgeni Chasnovski</name>
<email>evgeni.chasnovski@gmail.com</email>
</author>
<published>2026-04-18T00:16:11Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/neovim/commit/?id=7219b816eaae8b2f5b6c8c99e791b2a10dc89e14'/>
<id>urn:sha1:7219b816eaae8b2f5b6c8c99e791b2a10dc89e14</id>
<content type='text'>
* fix(api): allow silencing "Too many highlight groups" error

Problem: Using Lua's `vim.api.nvim_set_hl(0, 'New', {...})` can fail if
  there are too many existing highlight groups. However, this error can
  not be silenced with `pcall`.

Solution: Make it possible to silence in `nvim_set_hl` and
  `nvim_get_hl_id_by_name`.

* fix(lsp): limit number of groups created by `document_color()`

Problem: A file can contain many string colors that would be highlighted
  by an LSP server. If this number crosses 19999 (maximum number of
  allowed highlight groups), there are general issues with creating
  other highlight groups, which can break functionality outside of
  `vim.lsp.document_color`.

Solution: Limit number of highlight groups that are created by
  `vim.lsp.document_color` to 10000 (half of allowed maximum).
  This is not a 100% solution (since there can exist more than 10000
  other highlight groups), but explicitly checking number of groups is
  slow and 10000 should (hopefully) be enough for most use cases.</content>
</entry>
<entry>
<title>fix(terminal): forward streamed bracketed paste properly (#39152)</title>
<updated>2026-04-17T22:33:52Z</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2026-04-17T22:33:52Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/neovim/commit/?id=4eaf782bb6cd25408650db497bd4765b7e9782ec'/>
<id>urn:sha1:4eaf782bb6cd25408650db497bd4765b7e9782ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(api): rename "window" to "win" (positional parameters) #39083</title>
<updated>2026-04-15T17:31:17Z</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2026-04-15T17:31:17Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/neovim/commit/?id=71ac4db335e00b03b27d2c4aa5ab90c083a3a3e7'/>
<id>urn:sha1:71ac4db335e00b03b27d2c4aa5ab90c083a3a3e7</id>
<content type='text'>
continues d0af4cd9094f.

This commit renames positional parameters. This is only "cosmetic", but
is intended to make it extra clear which name is preferred, since people
often copy existing code despite the guidelines in `:help dev-naming`.</content>
</entry>
<entry>
<title>refactor(api): rename buffer to buf (positional parameters) #39013</title>
<updated>2026-04-15T13:48:21Z</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2026-04-15T13:48:21Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/neovim/commit/?id=d0af4cd9094f3439382622906da5b1c5cd82c294'/>
<id>urn:sha1:d0af4cd9094f3439382622906da5b1c5cd82c294</id>
<content type='text'>
In 3a4a66017b74, 4d3a67cd6201, df8d98173cbc we renamed "buffer" to "buf"
in dict parameters and return-values.

This commit renames positional parameters. This is only "cosmetic", but
is intended to make it extra clear which name is preferred, since people
often copy existing code despite the guidelines in `:help dev-naming`.</content>
</entry>
<entry>
<title>docs: lsp, options, api #38980</title>
<updated>2026-04-14T10:09:54Z</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2026-04-14T10:09:54Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/neovim/commit/?id=d77808ec59be2428f03fc43489ec70dcb71ac572'/>
<id>urn:sha1:d77808ec59be2428f03fc43489ec70dcb71ac572</id>
<content type='text'>
docs: lsp, options

- revert bogus change to `_meta/builtin_types.lua` from 3a4a66017b74

Close #38991

Co-authored-by: David Mejorado &lt;david.mejorado@gmail.com&gt;</content>
</entry>
<entry>
<title>feat(api): rename buffer to buf in retval #38900</title>
<updated>2026-04-13T16:42:26Z</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2026-04-13T16:42:26Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/neovim/commit/?id=df8d98173cbc03d78da18fee7f31f130db2c9e44'/>
<id>urn:sha1:df8d98173cbc03d78da18fee7f31f130db2c9e44</id>
<content type='text'>
In 3a4a66017b74192caaf9af9af172bdc08e0c1608, 4d3a67cd620152d11ab9b5f5bdd973f84cc2d44b
we renamed "buffer" to "buf" in dict parameters.

This commit also renames such keys in dict return-values.</content>
</entry>
<entry>
<title>feat(api): nvim_set_hl can set "font" #37668</title>
<updated>2026-04-12T15:19:40Z</updated>
<author>
<name>glepnir</name>
<email>glephunter@gmail.com</email>
</author>
<published>2026-04-12T15:19:40Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/neovim/commit/?id=1033739b60662661af61a07eb848552f2ce87e47'/>
<id>urn:sha1:1033739b60662661af61a07eb848552f2ce87e47</id>
<content type='text'>
Problem: Cannot set highlight group fonts via API, only via :highlight
command.

Solution: Add font parameter in nvim_set_hl().</content>
</entry>
<entry>
<title>Merge #38882 docs</title>
<updated>2026-04-12T12:45:46Z</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2026-04-12T12:45:46Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/neovim/commit/?id=52d466c500fcb0a87cfe56dc5c8cd63db67d612a'/>
<id>urn:sha1:52d466c500fcb0a87cfe56dc5c8cd63db67d612a</id>
<content type='text'>
</content>
</entry>
</feed>
