Commit Graph

318 Commits (master)
 

Author SHA1 Message Date
Marco Hinz 1004d41696
Bump to v2.5.1 2 years ago
daniprado d55402724a
Fix $NVR_CMD (#179)
Fixes https://github.com/mhinz/neovim-remote/issues/178
2 years ago
Marco Hinz a0b2f48cf2
Merge PR #177 from ashfinal/win_reload 2 years ago
ashfinal 4e77261f8b Use tcp address on Windows 2 years ago
ashfinal 9248643e6f Fix bad def naming 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
Peter Trško 9168686f50
Bash: support file completion (#139) 2 years ago
T.S. Foster c5239337be
Add fish completions
Closes https://github.com/mhinz/neovim-remote/pull/148
2 years ago
FallenWarrior2k fe3eeeea70
Fix `-d` not diffing the first file (#138)
Fixes https://github.com/mhinz/neovim-remote/issues/137
2 years ago
Marco Hinz 3130be19a9
Bail out if Unix socket already exists
References https://github.com/mhinz/neovim-remote/pull/159
2 years ago
Gabriel Sanches 1aa1651c33
Prevent whitespace trimming for stdin input (#168)
Let's only remove null terminators, not whitespaces.
2 years ago
Marco Hinz c1f1d10d37
Win: does not support Unix domain sockets
Fixes https://github.com/mhinz/neovim-remote/issues/144
2 years ago
Marco Hinz 03ad512710
Avoid str.format() if possible 2 years ago
Marco Hinz 842a22a479
Doc: $NVIM_LISTEN_ADDRESS is obsolete in nvim
The server should be started with `nvim --listen /tmp/nvimsocket` or just `nvr`.

When used as client, nvr still supports $NVIM_LISTEN_ADDRESS for backward
compatibility.
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 1ec7c6c76a
Use multiprocessing instead of os.fork() 4 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 50945c9677
Make --version output more verbose
This helps with reporting issues.
5 years ago
Marco Hinz 7b9c4b2b8a
Print "access denied" errors in --serverlist to stderr 5 years ago
Marco Hinz e7e001a03a
Rename sockaddrs -> addresses 5 years ago
IceCreamWW df703221ab Avoid exceptions for processes without a name (#127)
Fixes https://github.com/mhinz/neovim-remote/issues/126
5 years ago
Marco Hinz c6041ea94d
Make --serverlist show IPv6 addresses 5 years ago
Marco Hinz 4ba61af62a
Fix parsing IPv6 addresses
Fixes https://github.com/mhinz/neovim-remote/issues/125
5 years ago
RJ Dellecese f85fc410e5 Add comment about reshimming Python with asdf (#124) 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 bacc0cf594
Use pkg_resources to show current version 5 years ago
Marco Hinz 01c17963ca
Bump to v2.2.3 5 years ago
Marco Hinz d3f7d5d7c3
-d: avoid empty window if nvim is already running 5 years ago
Marco Hinz e1626a8ba0
-d: don't open each filename twice
Fixes https://github.com/mhinz/neovim-remote/issues/123
5 years ago
Marco Hinz 8985d10da5
Force result of --remote-expr to be str 5 years ago
Marco Hinz 13612ca350
Compat: result of --remote-expr always ends with newline
References https://github.com/mhinz/neovim-remote/pull/121
5 years ago
Collin Styles 1ee9107861 README: add more filetypes for git editor usage (#122)
Running `git config --edit` or `git rebase --interactive` will open a
buffer in neovim with a filetype of `gitconfig` or `gitrebase`
respectively. We want these buffers to be deleted automatically when
they're hidden just like buffers with filetype `gitcommit` so let's add
them to the relevant note in the README.
5 years ago
Marco Hinz 98f7f48e04
Bump to v2.2.2 5 years ago
FractalWire f7381ec402 Dealing with AccessDenied exception on process connections (#119) 5 years ago
FractalWire a1b5c3ee72 Shell: add bash autocompletion file (#118) 5 years ago
Marco Hinz 955d9564f5
Bump to 2.2.1 5 years ago
Adam Ibrahim 7c7b86ff2c Take off leading '+' from command (#117)
Fixes https://github.com/mhinz/neovim-remote/issues/115
Fixes https://github.com/mhinz/neovim-remote/issues/116
5 years ago
Marco Hinz c9b52e5b3a
Bump to 2.2.0 5 years ago
Marco Hinz 355243eebb
Revamp argument parsing 5 years ago
Marco Hinz 49431a2ccd
Make -o/-O/-p understand the +{cmd} syntax
The +{cmd} syntax can now be anywhere among the arguments.

These are all equivalent:

  nvr -O +3 foo bar
  nvr -O foo +3 bar
  nvr -O foo bar +3

Fixes https://github.com/mhinz/neovim-remote/issues/109
5 years ago
Marco Hinz a4e4002219
Bump to 2.1.10 5 years ago
Andrea Cedraro 8f2ed12145 setqflist() requires a list (#114) 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 d85084c91e
Remove obsolte variable 5 years ago
Marco Hinz d0be1a622b
Refactor messages 5 years ago