<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/tohtml.lua, branch rahm</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>fix: resolve all remaining LuaLS diagnostics</title>
<updated>2025-01-27T16:37:50+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2025-01-24T13:01:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=6aa42e8f92bd8bea49b7b2accfe4ab67a5344e41'/>
<id>6aa42e8f92bd8bea49b7b2accfe4ab67a5344e41</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(inspector): update semantic token namespace (#32157)</title>
<updated>2025-01-22T13:02:30+00:00</updated>
<author>
<name>jdrouhard</name>
<email>john@drouhard.dev</email>
</author>
<published>2025-01-22T13:02:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=22fd52325bf60cadaf24bca328a602764f53d6a9'/>
<id>22fd52325bf60cadaf24bca328a602764f53d6a9</id>
<content type='text'>
This updates the extmark namespace to search for when filtering out
semantic tokens to match the new namespace style recently introduced.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This updates the extmark namespace to search for when filtering out
semantic tokens to match the new namespace style recently introduced.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(tohtml): enclose font-family names in quotation marks</title>
<updated>2024-09-08T10:15:50+00:00</updated>
<author>
<name>yayoyuyu</name>
<email>112897090+yayoyuyu@users.noreply.github.com</email>
</author>
<published>2024-08-20T14:29:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e37404f7fecc5f57e4f3df4cf5ba0adec67bfbb3'/>
<id>e37404f7fecc5f57e4f3df4cf5ba0adec67bfbb3</id>
<content type='text'>
Font-family names must be enclosed in quotation marks to ensure that
fonts are applied correctly when there are spaces in the name.

Fix an issue where multiple fonts specified in `vim.o.guifont` are
inserted as a single element, treating them as a single font.

Support for escaping commas with backslash and ignoring spaces
after a comma.

ref `:help 'guifont'`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Font-family names must be enclosed in quotation marks to ensure that
fonts are applied correctly when there are spaces in the name.

Fix an issue where multiple fonts specified in `vim.o.guifont` are
inserted as a single element, treating them as a single font.

Support for escaping commas with backslash and ignoring spaces
after a comma.

ref `:help 'guifont'`
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(tohtml): apply sp color if present #30110</title>
<updated>2024-08-29T16:36:33+00:00</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-08-29T16:36:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=59baa5e8a1f9e71b82f28c2723ccc558370b6fc0'/>
<id>59baa5e8a1f9e71b82f28c2723ccc558370b6fc0</id>
<content type='text'>
Problem:
Things like underlines are always given a default foreground highlight
regardless of the value of `sp`.

Solution:
Check for `sp` first, and apply that color to the text decoration color if it
exists.

Limitations:
If there is no value of `sp`, vim applies a text decoration color that matches
the foreground of the text. This is still not implemented (and seems like a much
more complex problem): in TOhtml, the underline will still be given a default
foreground highlight.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
Things like underlines are always given a default foreground highlight
regardless of the value of `sp`.

Solution:
Check for `sp` first, and apply that color to the text decoration color if it
exists.

Limitations:
If there is no value of `sp`, vim applies a text decoration color that matches
the foreground of the text. This is still not implemented (and seems like a much
more complex problem): in TOhtml, the underline will still be given a default
foreground highlight.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(tohtml): support ranges again</title>
<updated>2024-07-16T13:07:40+00:00</updated>
<author>
<name>altermo</name>
<email>107814000+altermo@users.noreply.github.com</email>
</author>
<published>2024-07-11T16:16:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=118ae7e5ed6cfab6a49ec70c21da2b850161289c'/>
<id>118ae7e5ed6cfab6a49ec70c21da2b850161289c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(tohtml): extmark text may be out of bounds</title>
<updated>2024-07-16T07:11:26+00:00</updated>
<author>
<name>altermo</name>
<email>107814000+altermo@users.noreply.github.com</email>
</author>
<published>2024-07-16T03:09:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=25db0a1385377ec28fd6e4ca3553c79ce5cb80e4'/>
<id>25db0a1385377ec28fd6e4ca3553c79ce5cb80e4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: use `vim._with` where possible</title>
<updated>2024-06-28T17:58:31+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2024-06-08T19:40:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=aa6b9c677d83d76d448c3bb0973bf8d14bfdf922'/>
<id>aa6b9c677d83d76d448c3bb0973bf8d14bfdf922</id>
<content type='text'>
This mostly means replacing `nvim_buf_call` and `nvim_win_call` with
`vim._with`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This mostly means replacing `nvim_buf_call` and `nvim_win_call` with
`vim._with`.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lua): use tuple syntax everywhere #29111</title>
<updated>2024-06-04T13:06:02+00:00</updated>
<author>
<name>Ilia Choly</name>
<email>ilia.choly@gmail.com</email>
</author>
<published>2024-06-04T13:06:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=8cbb1f20e557461c8417583a7f69d53aaaef920b'/>
<id>8cbb1f20e557461c8417583a7f69d53aaaef920b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: fix luals type warnings</title>
<updated>2024-05-27T18:48:46+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2024-05-25T18:35:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=6e8a728e3dad747d0c46dc47a530b76e8997bc08'/>
<id>6e8a728e3dad747d0c46dc47a530b76e8997bc08</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(tohtml): properly handle multiple hl groups #29012</title>
<updated>2024-05-26T17:27:12+00:00</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-05-26T17:27:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=eb37241d38ad35b9e6bfac6379dd10e60aa0350c'/>
<id>eb37241d38ad35b9e6bfac6379dd10e60aa0350c</id>
<content type='text'>
Problem: :TOhtml doesn't properly handle virtual text when it has
multiple highlight groups. It also improperly calculates position offset
for multi-byte virt_text characters.

Solution: Apply the `vim.api.nvim_strwidth` broadly to properly
calculate character offset, and handle the cases where the `hl` argument
can be a table of multiple hl groups.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: :TOhtml doesn't properly handle virtual text when it has
multiple highlight groups. It also improperly calculates position offset
for multi-byte virt_text characters.

Solution: Apply the `vim.api.nvim_strwidth` broadly to properly
calculate character offset, and handle the cases where the `hl` argument
can be a table of multiple hl groups.</pre>
</div>
</content>
</entry>
</feed>
