<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/tohtml.lua, branch userregs_2</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(tohtml): disable modeline #32822</title>
<updated>2025-03-10T16:15:41+00:00</updated>
<author>
<name>altermo</name>
<email>107814000+altermo@users.noreply.github.com</email>
</author>
<published>2025-03-10T16:15:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=67c39f5ecae0edc3777b2db0f7e637cafa097d05'/>
<id>67c39f5ecae0edc3777b2db0f7e637cafa097d05</id>
<content type='text'>
Problem:
Running :TOhtml with a file containing modeline may generate an invalid modeline in the output.

Solution:
Add `&lt;!-- vim: set nomodeline: --&gt;` to the output.
Use vi-compatible modeline format ("set foo:"), to avoid the trailing `--&gt;` being treated as part of the modeline.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
Running :TOhtml with a file containing modeline may generate an invalid modeline in the output.

Solution:
Add `&lt;!-- vim: set nomodeline: --&gt;` to the output.
Use vi-compatible modeline format ("set foo:"), to avoid the trailing `--&gt;` being treated as part of the modeline.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(terminal)!: include cursor position in TermRequest event data (#31609)</title>
<updated>2025-03-05T15:45:22+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2025-03-05T15:45:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=35e5307af25785ac90bd00f913fc0df5cf962db3'/>
<id>35e5307af25785ac90bd00f913fc0df5cf962db3</id>
<content type='text'>
When a plugin registers a TermRequest handler there is currently no way
for the handler to know where the terminal's cursor position was when
the sequence was received. This is often useful information, e.g. for
OSC 133 sequences which are used to annotate shell prompts.

Modify the event data for the TermRequest autocommand to be a table
instead of just a string. The "sequence" field of the table contains the
sequence string and the "cursor" field contains the cursor
position when the sequence was received.

To maintain consistency between TermRequest and TermResponse (and to
future proof the latter), TermResponse's event data is also updated to
be a table with a "sequence" field.

BREAKING CHANGE: event data for TermRequest and TermResponse is now a
table</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a plugin registers a TermRequest handler there is currently no way
for the handler to know where the terminal's cursor position was when
the sequence was received. This is often useful information, e.g. for
OSC 133 sequences which are used to annotate shell prompts.

Modify the event data for the TermRequest autocommand to be a table
instead of just a string. The "sequence" field of the table contains the
sequence string and the "cursor" field contains the cursor
position when the sequence was received.

To maintain consistency between TermRequest and TermResponse (and to
future proof the latter), TermResponse's event data is also updated to
be a table with a "sequence" field.

BREAKING CHANGE: event data for TermRequest and TermResponse is now a
table</pre>
</div>
</content>
</entry>
<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>
</feed>
