<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/autoload/provider, branch v0.4.3</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<entry>
<title>clipboard: handle/avoid SIGTERM with previous owner #10765</title>
<updated>2019-08-14T07:58:52+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-08-14T07:58:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=2fafed6bb8aa316861173c39a89d0c9cca6cd4d9'/>
<id>2fafed6bb8aa316861173c39a89d0c9cca6cd4d9</id>
<content type='text'>
Fixes regression due to signal being reported with exit status.
ref #10573 939d9053bdf2f56
ref https://github.com/neovim/neovim/issues/7054#issuecomment-520282429</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes regression due to signal being reported with exit status.
ref #10573 939d9053bdf2f56
ref https://github.com/neovim/neovim/issues/7054#issuecomment-520282429</pre>
</div>
</content>
</entry>
<entry>
<title>provider: g:loaded_xx_provider=2 means "enabled and working"</title>
<updated>2019-08-04T11:23:46+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-08-04T10:06:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=241956720d02d933b0b27097a3b0a1966f138d0b'/>
<id>241956720d02d933b0b27097a3b0a1966f138d0b</id>
<content type='text'>
Value of 1 cannot be used, because users might set that in their vimrc
to _disable_ a provider, which would confuse :checkhealth and has().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Value of 1 cannot be used, because users might set that in their vimrc
to _disable_ a provider, which would confuse :checkhealth and has().
</pre>
</div>
</content>
</entry>
<entry>
<title>provider: decide status by g:loaded_xx_provider</title>
<updated>2019-08-04T11:23:46+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-08-04T01:54:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=66938b928c05b913f3a11e520d13ca854621799d'/>
<id>66938b928c05b913f3a11e520d13ca854621799d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>provider: let providers decide their status</title>
<updated>2019-08-04T11:23:46+00:00</updated>
<author>
<name>Rui Abreu Ferreira</name>
<email>raf-ep@gmx.com</email>
</author>
<published>2019-06-09T17:22:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=2cfe4748e57bd510b98ca81bd915f801f5a50bb5'/>
<id>2cfe4748e57bd510b98ca81bd915f801f5a50bb5</id>
<content type='text'>
Instead of deciding provider status in eval_has_provider, move the
decision to the provider Vim scripts.

Previously, provider loading worked as follows:

1. eval_has_provider() verified provider availability by searching for
   the provider#providername#Call function and cached this verificaion as a static
   variable for some providers
2. providers short-circuited on loading to prevent the definition of the
   Call function (with the exception of the node provider that did not)

This commit changes the expected interface between nvim and its
providers to facilitate provider reloading, by splitting the
verification of the provider from the availability of the Call function.

eval_has_provider() now checks for a provider#providername#enabled
variable. It is up to the provider script to set this to 0 or 1
accordingly. eval_call_provider() remains unchanged.

All providers hosting a Call function were updated to respect this.

The clipboard provider now has a Reload function to reload the
provider.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of deciding provider status in eval_has_provider, move the
decision to the provider Vim scripts.

Previously, provider loading worked as follows:

1. eval_has_provider() verified provider availability by searching for
   the provider#providername#Call function and cached this verificaion as a static
   variable for some providers
2. providers short-circuited on loading to prevent the definition of the
   Call function (with the exception of the node provider that did not)

This commit changes the expected interface between nvim and its
providers to facilitate provider reloading, by splitting the
verification of the provider from the availability of the Call function.

eval_has_provider() now checks for a provider#providername#enabled
variable. It is up to the provider script to set this to 0 or 1
accordingly. eval_call_provider() remains unchanged.

All providers hosting a Call function were updated to respect this.

The clipboard provider now has a Reload function to reload the
provider.
</pre>
</div>
</content>
</entry>
<entry>
<title>clipboard: Always copy as plain text in Wayland #9737</title>
<updated>2019-03-16T21:55:24+00:00</updated>
<author>
<name>Tim Morgan</name>
<email>tim@timmorgan.org</email>
</author>
<published>2019-03-16T03:16:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=d8316f2a1b0d7886aabcd0f96e917129b4ae74c8'/>
<id>d8316f2a1b0d7886aabcd0f96e917129b4ae74c8</id>
<content type='text'>
`wl-copy` by default tries to determine the mime type of a copied bit of
text. From the [readme](https://github.com/bugaevc/wl-clipboard):

&gt; wl-copy automatically infers the type of the copied content by running
&gt; xdg-mime(1) on it.

So copying a Ruby script from Nvim may store it in the Wayland clipboard
as mime-type `application/x-ruby`.

This is a small reproduction without Nvim:

    $ cat test.rb
    #!/usr/bin/env ruby
    puts 'hello world'
    $ cat test.rb | wl-copy
    $ wl-paste --list-types
    application/x-ruby

This commit fixes that by telling wl-copy that all text copied from
Nvim has the mime type `text/plain`.

    $ cat test.rb | wl-copy --type text/plain
    $ wl-paste --list-types
    text/plain;charset=utf-8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`wl-copy` by default tries to determine the mime type of a copied bit of
text. From the [readme](https://github.com/bugaevc/wl-clipboard):

&gt; wl-copy automatically infers the type of the copied content by running
&gt; xdg-mime(1) on it.

So copying a Ruby script from Nvim may store it in the Wayland clipboard
as mime-type `application/x-ruby`.

This is a small reproduction without Nvim:

    $ cat test.rb
    #!/usr/bin/env ruby
    puts 'hello world'
    $ cat test.rb | wl-copy
    $ wl-paste --list-types
    application/x-ruby

This commit fixes that by telling wl-copy that all text copied from
Nvim has the mime type `text/plain`.

    $ cat test.rb | wl-copy --type text/plain
    $ wl-paste --list-types
    text/plain;charset=utf-8
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge #9468 'checkhealth: detect broken pip"'</title>
<updated>2019-01-11T01:03:56+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-01-11T01:03:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8986f70bdc07b2d92bbcf4ef3f63db48934cfbe1'/>
<id>8986f70bdc07b2d92bbcf4ef3f63db48934cfbe1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>clipboard/macOS: assume that pbcopy works #9480</title>
<updated>2019-01-10T08:11:36+00:00</updated>
<author>
<name>Marco Hinz</name>
<email>mh.codebro+github@gmail.com</email>
</author>
<published>2019-01-10T08:11:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=3f10c5b5338fc7efec53a23427e1c0e2dea56be4'/>
<id>3f10c5b5338fc7efec53a23427e1c0e2dea56be4</id>
<content type='text'>
Avoids ~30-60 ms startup cost for users of clipboard=unnamed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoids ~30-60 ms startup cost for users of clipboard=unnamed.</pre>
</div>
</content>
</entry>
<entry>
<title>health/pythonx: handle "pip upgrade failure"</title>
<updated>2019-01-07T22:29:46+00:00</updated>
<author>
<name>Marco Hinz</name>
<email>mh.codebro@gmail.com</email>
</author>
<published>2019-01-07T13:46:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=75593e6fcebcfd1404c8851653d5d8b1195ee34c'/>
<id>75593e6fcebcfd1404c8851653d5d8b1195ee34c</id>
<content type='text'>
Reference: https://github.com/neovim/neovim/wiki/Following-HEAD#20181118
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reference: https://github.com/neovim/neovim/wiki/Following-HEAD#20181118
</pre>
</div>
</content>
</entry>
<entry>
<title>health/pythonx: refactor #Detect()</title>
<updated>2019-01-07T18:58:33+00:00</updated>
<author>
<name>Marco Hinz</name>
<email>mh.codebro@gmail.com</email>
</author>
<published>2019-01-06T16:19:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=eb91101a467004bda48fe0dd257a695d5b3d8d5f'/>
<id>eb91101a467004bda48fe0dd257a695d5b3d8d5f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>python#CheckForModule: Use the given module string instead of hard-coding pynvim</title>
<updated>2019-01-01T21:06:37+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2019-01-01T19:19:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=edeb19d5e9597045a6b3f320948dafd1b7631c16'/>
<id>edeb19d5e9597045a6b3f320948dafd1b7631c16</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
