<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/src/nvim/options.lua, branch newfeatures</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>Add user-registers for arbitrary registers.</title>
<updated>2021-10-05T08:22:00+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>rahm@google.com</email>
</author>
<published>2020-01-02T19:01:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f293f94296fc9443f966025ae55743565221d732'/>
<id>f293f94296fc9443f966025ae55743565221d732</id>
<content type='text'>
This allows users to define behaviors for arbitrary registers. These
registers can be any character including multibyte characters. This
means that any character may be used as a register and if that register
is not a builtin register, it will defer to a user-defined vimscript
function for behavior.

This is done throw an option called 'userregfun'

The function that 'userregfun' defines is a function that takes 3
arguments:

   action - Either set to "put" or "yank"
   register - The character representing the register.
   content - If the action is "yank" this string contains the content
             yanked.

Multibyte registers are still broken for expressions. So while

  let @&amp;=xyz

Works as expected,

  let @λ=xyz

will still throw a parse error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows users to define behaviors for arbitrary registers. These
registers can be any character including multibyte characters. This
means that any character may be used as a register and if that register
is not a builtin register, it will defer to a user-defined vimscript
function for behavior.

This is done throw an option called 'userregfun'

The function that 'userregfun' defines is a function that takes 3
arguments:

   action - Either set to "put" or "yank"
   register - The character representing the register.
   content - If the action is "yank" this string contains the content
             yanked.

Multibyte registers are still broken for expressions. So while

  let @&amp;=xyz

Works as expected,

  let @λ=xyz

will still throw a parse error.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.2281: 'showbreak' cannot be set for one window</title>
<updated>2021-09-10T14:50:43+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2021-09-10T12:27:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=fd1dbb103bb78f04dd15b50f529bb12d922e98eb'/>
<id>fd1dbb103bb78f04dd15b50f529bb12d922e98eb</id>
<content type='text'>
Problem:    'showbreak' cannot be set for one window.
Solution:   Make 'showbreak' global-local.
https://github.com/vim/vim/commit/ee85702c10495041791f728e977b86005c4496e8

Change in oneleft() is N/A as the relevant condition was removed
(has_mbyte is always true for Nvim, so the condition was always false;
see commit 73dc9e9).

Use wp over curwin for curs_columns().

Required for v8.2.2903 (otherwise test fails as it'll leave the global
option set).

N/A patches for version.c:

vim-patch:8.1.2283: missed on use of p_sbr

Problem:    Missed on use of p_sbr.
Solution:   Add missing p_sbr change.
https://github.com/vim/vim/commit/91e22eb6e09ec384496fccde812072033fd9e616

Already ported in commit 43a874a.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    'showbreak' cannot be set for one window.
Solution:   Make 'showbreak' global-local.
https://github.com/vim/vim/commit/ee85702c10495041791f728e977b86005c4496e8

Change in oneleft() is N/A as the relevant condition was removed
(has_mbyte is always true for Nvim, so the condition was always false;
see commit 73dc9e9).

Use wp over curwin for curs_columns().

Required for v8.2.2903 (otherwise test fails as it'll leave the global
option set).

N/A patches for version.c:

vim-patch:8.1.2283: missed on use of p_sbr

Problem:    Missed on use of p_sbr.
Solution:   Add missing p_sbr change.
https://github.com/vim/vim/commit/91e22eb6e09ec384496fccde812072033fd9e616

Already ported in commit 43a874a.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(defaults): set nojoinspaces</title>
<updated>2021-08-17T22:39:04+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-08-17T18:12:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=d417e67e595a9eb19797866e91bb80b4fe299a94'/>
<id>d417e67e595a9eb19797866e91bb80b4fe299a94</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(defaults): set hidden</title>
<updated>2021-08-17T22:38:39+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-08-17T18:12:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f6c72b745cfbaaba80555de9a5d4b25f30f17ab2'/>
<id>f6c72b745cfbaaba80555de9a5d4b25f30f17ab2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(options): remove vi/vim default value distinction</title>
<updated>2021-08-17T14:07:41+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-08-16T16:46:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=8e926a0984f7dc91feca56e6c8a0272a0c275bd8'/>
<id>8e926a0984f7dc91feca56e6c8a0272a0c275bd8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(defaults): remove 'options' from viewoptions #15397</title>
<updated>2021-08-16T20:05:24+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-08-16T20:05:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=3954537b9e243fb3df3672d47fe3d9529fa4e544'/>
<id>3954537b9e243fb3df3672d47fe3d9529fa4e544</id>
<content type='text'>
ref #6289</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ref #6289</pre>
</div>
</content>
</entry>
<entry>
<title>feat(defaults): switchbuf=uselast #15394</title>
<updated>2021-08-16T18:20:46+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-08-16T18:20:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=4ba74953b514397b6c061edafe614917925b3a77'/>
<id>4ba74953b514397b6c061edafe614917925b3a77</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: defaults: inccommand=nosplit #15395</title>
<updated>2021-08-16T17:39:17+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-08-16T17:39:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=7215d356949bf07960cc3a3d8b83772635d729d0'/>
<id>7215d356949bf07960cc3a3d8b83772635d729d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.2029: cannot control 'cursorline' highlighting well</title>
<updated>2021-08-01T21:41:17+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2021-07-30T02:49:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=1666fe9dfe08201c92271b7a59fb2f96a20eb8db'/>
<id>1666fe9dfe08201c92271b7a59fb2f96a20eb8db</id>
<content type='text'>
Problem:    Cannot control 'cursorline' highlighting well.
Solution:   Add "screenline". (Christian Brabandt, closes vim/vim#4933)
https://github.com/vim/vim/commit/017ba07fa2cdc578245618717229444fd50c470d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Cannot control 'cursorline' highlighting well.
Solution:   Add "screenline". (Christian Brabandt, closes vim/vim#4933)
https://github.com/vim/vim/commit/017ba07fa2cdc578245618717229444fd50c470d
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.2019: 'cursorline' always highlights the whole line (#15161)</title>
<updated>2021-07-31T01:51:26+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2021-07-31T01:51:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=5f01714b255d1c037abcb836b835096cf817adfd'/>
<id>5f01714b255d1c037abcb836b835096cf817adfd</id>
<content type='text'>
Problem:    'cursorline' always highlights the whole line.
Solution:   Add 'cursorlineopt' to specify what is highlighted.
            (closes vim/vim#4693)
https://github.com/vim/vim/commit/410e98a70bc00ea4bed51e55a8fe20e56a72c087</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    'cursorline' always highlights the whole line.
Solution:   Add 'cursorlineopt' to specify what is highlighted.
            (closes vim/vim#4693)
https://github.com/vim/vim/commit/410e98a70bc00ea4bed51e55a8fe20e56a72c087</pre>
</div>
</content>
</entry>
</feed>
