<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/lua/vim_spec.lua, branch mix</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>Use weak tables in tree-sitter code (#17117)</title>
<updated>2022-09-07T06:39:56+00:00</updated>
<author>
<name>Thomas Vigouroux</name>
<email>thomas.vigouroux@protonmail.com</email>
</author>
<published>2022-09-07T06:39:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=fd1595514b747d8b083f78007579d869ccfbe89c'/>
<id>fd1595514b747d8b083f78007579d869ccfbe89c</id>
<content type='text'>
feat(treesitter): use weak tables when possible

Also add the defaulttable function to create a table whose values are created when a key is missing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
feat(treesitter): use weak tables when possible

Also add the defaulttable function to create a table whose values are created when a key is missing.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lua): add vim.iconv (#18286)</title>
<updated>2022-08-24T13:41:31+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-08-24T13:41:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=b1eaa2b9a3bae46f6dcbab8dc3a84e0044b11317'/>
<id>b1eaa2b9a3bae46f6dcbab8dc3a84e0044b11317</id>
<content type='text'>
Co-authored-by: Justin M. Keyes &lt;justinkz@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Justin M. Keyes &lt;justinkz@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>test: improve mapping tests and docs (#19619)</title>
<updated>2022-08-02T03:13:22+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-08-02T03:13:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=0a049c322fda5f2bb124429086c2713ff99c7142'/>
<id>0a049c322fda5f2bb124429086c2713ff99c7142</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lua): allow vim.cmd to be indexed (#19238)</title>
<updated>2022-07-20T11:29:24+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-07-20T11:29:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=559ef3e90393a8f02c8350a9d60f4b7849815d97'/>
<id>559ef3e90393a8f02c8350a9d60f4b7849815d97</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lua): make it possible to cancel vim.wait() with Ctrl-C (#19217)</title>
<updated>2022-07-19T01:11:13+00:00</updated>
<author>
<name>JP</name>
<email>17429390+resolritter@users.noreply.github.com</email>
</author>
<published>2022-07-19T01:11:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=1a655b71a888a2be86ff7d1ff534eac32fc83620'/>
<id>1a655b71a888a2be86ff7d1ff534eac32fc83620</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #19041 from lewis6991/globallocal</title>
<updated>2022-06-25T09:09:55+00:00</updated>
<author>
<name>bfredl</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2022-06-25T09:09:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=88a5941598f706f447c92137521fcaf9137920fc'/>
<id>88a5941598f706f447c92137521fcaf9137920fc</id>
<content type='text'>
fix(api): nvim_set_option_value for global-local options</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix(api): nvim_set_option_value for global-local options</pre>
</div>
</content>
</entry>
<entry>
<title>fix(api): check error after getting win/buf handle (#19052)</title>
<updated>2022-06-22T19:19:03+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2022-06-22T19:19:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=c94325288a1008b5eabe7ae0fd03aa906686ee1b'/>
<id>c94325288a1008b5eabe7ae0fd03aa906686ee1b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(api): nvim_set_option_value for global-local options</title>
<updated>2022-06-22T10:08:30+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-06-21T16:13:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=d23465534a8ba5dac1758ffebdc7746138ee5210'/>
<id>d23465534a8ba5dac1758ffebdc7746138ee5210</id>
<content type='text'>
global-local window options need to be handled specially. When `win` is
given but `scope` is not, then we want to set the local version of the
option but not the global one, therefore we need to force
`scope='local'`.

Note this does not apply to window-local only options (e.g. 'number')

Example:

   nvim_set_option_value('scrolloff', 10, {})       -- global-local window option; set global value
   nvim_set_option_value('scrolloff', 20, {win=0})  -- global-local window option; set local value
   nvim_set_option_value('number', true, {})        -- local window option

is now equivalent to:

   nvim_set_option_value('scrolloff', 10, {})
   nvim_set_option_value('scrolloff', 20, {win=0, scope='local'})  -- changed from before
   nvim_set_option_value('number', true, {win=0})                  -- unchanged from before

Only the global-local option with a `win` provided gets forced to local
scope.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
global-local window options need to be handled specially. When `win` is
given but `scope` is not, then we want to set the local version of the
option but not the global one, therefore we need to force
`scope='local'`.

Note this does not apply to window-local only options (e.g. 'number')

Example:

   nvim_set_option_value('scrolloff', 10, {})       -- global-local window option; set global value
   nvim_set_option_value('scrolloff', 20, {win=0})  -- global-local window option; set local value
   nvim_set_option_value('number', true, {})        -- local window option

is now equivalent to:

   nvim_set_option_value('scrolloff', 10, {})
   nvim_set_option_value('scrolloff', 20, {win=0, scope='local'})  -- changed from before
   nvim_set_option_value('number', true, {win=0})                  -- unchanged from before

Only the global-local option with a `win` provided gets forced to local
scope.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: use nvim_{get,set}_option_value for vim.{b,w}o</title>
<updated>2022-06-20T15:16:21+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2022-05-25T17:17:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=87a68b6a3ab483c6b126fa8071066a112f9386a3'/>
<id>87a68b6a3ab483c6b126fa8071066a112f9386a3</id>
<content type='text'>
`nvim_get_option_value` and `nvim_set_option_value` better handle
unsetting local options. For instance, this is currently not possible:

    vim.bo.tagfunc = nil

This does not work because 'tagfunc' is marked as "local to buffer" and
does not have a fallback global option. However, using :setlocal *does*
work as expected

    :setlocal tagfunc=

`nvim_set_option_value` behaves more like :set and :setlocal (by
design), so using these as the underlying API functions beneath vim.bo
and vim.wo makes those two tables act more like :setlocal. Note that
vim.o *already* uses `nvim_set_option_value` under the hood, so that
vim.o behaves like :set.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`nvim_get_option_value` and `nvim_set_option_value` better handle
unsetting local options. For instance, this is currently not possible:

    vim.bo.tagfunc = nil

This does not work because 'tagfunc' is marked as "local to buffer" and
does not have a fallback global option. However, using :setlocal *does*
work as expected

    :setlocal tagfunc=

`nvim_set_option_value` behaves more like :set and :setlocal (by
design), so using these as the underlying API functions beneath vim.bo
and vim.wo makes those two tables act more like :setlocal. Note that
vim.o *already* uses `nvim_set_option_value` under the hood, so that
vim.o behaves like :set.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lua): clear got_int when calling vim.on_key() callback (#18979)</title>
<updated>2022-06-16T10:51:36+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-06-16T10:51:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=179faa3edd6120a483b55aadf0a367fbf07b25fd'/>
<id>179faa3edd6120a483b55aadf0a367fbf07b25fd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
