Commit Graph

88 Commits (master)

Author SHA1 Message Date
Marco Hinz 1004d41696
Bump to v2.5.1 2 years ago
Marco Hinz 41e7016e5c
Prefer --listen over obsolete $NVIM_LISTEN_ADDRESS
Current nvim master is still reading $NVIM_LISTEN_ADDRESS, but it is considered
obsolete and could be removed soon in favor of --listen.
2 years ago
Marco Hinz 03ad512710
Avoid str.format() if possible 2 years ago
Marco Hinz 39e380dec9
Support $NVIM
Latest Neovim from the repo does a few changes to how $NVIM_LISTEN_ADDRESS is
handled. You can still use it to set a servername, but it's not passed on to
children of the process. That also affects the use of :terminal, which will now
have a $NVIM set instead. $NVIM points to the server exactly like
$NVIM_LISTEN_ADDRESS did.

So all that changes, is that we now also check for $NVIM before
$NVIM_LISTEN_ADDRESS.

References https://github.com/neovim/neovim/pull/11009
2 years ago
Marco Hinz 5ce398da07
Change back to requiring 'pynvim' instead of 'neovim'
Fixes https://github.com/mhinz/neovim-remote/issues/131
5 years ago
Marco Hinz 8cb46bdc23
Import 'neovim' instead of 'pynvim'
This was forgotten in 684ad23
5 years ago
Marco Hinz be295ef2ff
Bump to v2.3.3 5 years ago
Marco Hinz c6041ea94d
Make --serverlist show IPv6 addresses 5 years ago
Marco Hinz 4b087a8095
Bump to v2.3.0 5 years ago
Marco Hinz 0e618f0c6c
Remove Python 3.4, add Python 3.8
Python 3.4 reached its end-of-life.
5 years ago
Marco Hinz 684ad2323b
Require 'neovim' instead of 'pynvim'
The 'neovim' package acts as transition package for 'pynvim'.

This is solely for backward compatibility for operating systems that provide the
'neovim' package via their own package format. E.g. Debian stable (Buster)
provides a 'python3-neovim' package, which provides the 'neovim' Python package,
but not 'pynvim'.

If you install both through pip3, feel free to remove the transitional 'neovim'
package after installing or upgrading 'neovim-remote'.
5 years ago
Marco Hinz 01c17963ca
Bump to v2.2.3 5 years ago
Marco Hinz 98f7f48e04
Bump to v2.2.2 5 years ago
Marco Hinz 955d9564f5
Bump to 2.2.1 5 years ago
Marco Hinz c9b52e5b3a
Bump to 2.2.0 5 years ago
Marco Hinz a4e4002219
Bump to 2.1.10 5 years ago
Marco Hinz aea28056c1
Switch to twine for uploading 5 years ago
Marco Hinz 31573a17fb
Fix printing version
...for packages not installed through pip.

This is a crude hack, but fine since I'm the only one uploading this package.

Fixes https://github.com/mhinz/neovim-remote/issues/110
5 years ago
Marco Hinz 37c54e7ab2
Use raw string literals where appropriate
This avoids warnings such as:

    DeprecationWarning: invalid escape sequence \|
5 years ago
Marco Hinz d6c1b1a7cf
Close socket properly 5 years ago
Marco Hinz bf7477b684
Add exception that hopefully never raises 5 years ago
Marco Hinz 1b40cf3da0
Print error message when forked process can't attach to nvim
References https://github.com/mhinz/neovim-remote/issues/99
5 years ago
Marco Hinz ed5741c53e
Travis: make PyPI provider create bdist_wheel 5 years ago
Marco Hinz aa5da2fc2b
Temporarily use shortmess-=F
This is needed as a workaround in case the "swap file exists" dialog is in
effect but the actual text isn't shown.

References https://github.com/mhinz/neovim-remote/issues/92
6 years ago
Marco Hinz 8d0de2faff
Set shortmess-=F when starting nvr
Opposed to Vim, 'F' is set by default in Nvim. But in combination with the API,
the "swap file exists" dialog wouldn't appear for some reason.

References https://github.com/mhinz/neovim-remote/issues/92
6 years ago
Marco Hinz 7c50a1ef32
Package 'neovim' was renamed to 'pynvim'
Rationale: https://github.com/neovim/python-client/pull/305
6 years ago
Marco Hinz bd7bc4d9fc
Allow sending exit code with BufDelete RPC message
A buffer managed by nvr sets the b:nvr variable. It contains the channel IDs of
all connected nvr clients.

nvr clients understand two RPC messages, BufDelete and Exit.

The latter always required the exit code as argument and the former optionally
takes one as well now.

  let exitcode = 1
  for chan in b:nvr
    call rpcnotify(chan, 'BufDelete', exitcode)
  endfor

Closes #89
6 years ago
Marco Hinz 5d83a59255
Bump to v2.0.10
Forgot the classifier for Python 3.7, which is used by our badge:

  https://img.shields.io/pypi/pyversions/neovim-remote.svg
6 years ago
Marco Hinz 590bbd941b
Bump to v2.0.9
This release adds support for Python 3.7.

Previously we didn't allow that version because python-client had problems with
it, since arguments were named after keywords newly introduced in 3.7.

Fixed since of https://github.com/neovim/python-client/pull/274
6 years ago
Giovanni Lanzani f7d0d434c5 Allow Python 3.7 installation
I've tested `nvr` on Python 3.7, it successfully worked.
6 years ago
Marco Hinz 8254861659
Check if path is protocol supported by netrw
References #87
6 years ago
Marco Hinz 81bfe645e6
Check if first buffer was handled already
References #84
6 years ago
Marco Hinz 17cff73210
Bump to 2.0.6 6 years ago
Marco Hinz a1a426a894
Make -q work with stdin
Example:

  grep -Rn foo . | nvr -q -
6 years ago
Marco Hinz 999272942d
Only install for Python versions >=3.4 and <3.7
Closes #79
6 years ago
Marco Hinz 429f58f47b
Bump to 2.0.3
There are no changes. This release tests the automatic deployment to PyPI.
6 years ago
Marco Hinz b440e60636
Bump to 2.0.2
Stupid me.
6 years ago
Marco Hinz ad0b04dcf1
Bump to 2.0.0 6 years ago
Marco Hinz fcf4a8d41d
Bump to 1.9.6 6 years ago
Marco Hinz 4dccbb742a
Bump to 1.9.5 6 years ago
Marco Hinz 9954142dd4
Bump to 1.9.4 6 years ago
Marco Hinz 6bae5a77cc
Bump to 1.9.3 6 years ago
Marco Hinz ab6b42fd2b
Bump to 1.9.2 6 years ago
Marco Hinz ac49415d43
Gracefully close the event loop
This uses the APIs new close() method from neovim 0.2.3.
6 years ago
Marco Hinz a08ffdf89a
New option: --version 6 years ago
Marco Hinz aeb08b81f2
Make -c/-cc/--remote-expr read from stdin on -
Fixes #72.
7 years ago
Marco Hinz 4659798cd6
Release v1.9.0 7 years ago
Marco Hinz 8dccd952b5
Don't start nvim on --serverlist
Fixes #67.
7 years ago
Marco Hinz 40f5705eef
Be more precise when to implicitly use --remote-silent 7 years ago
Marco Hinz f8250c0c38
From all --remote* options, check the implicit --remote-silent last
References #43.
7 years ago