Skip to main content

Neovim wrapper project to install as a script

Project description

Wrapper package to install neovim with an executable.

This allows to install neovim with pipx:

pipx install --python=$(which python2) neovim-sh
pipx install --python=$(which python3) neovim-sh

To use in neovim, simply set python host program variables:

function! s:SetPythonHostProg(job_id, data, event)
    if (len(a:data[0]) > 0)
        execute(a:data[0])
    endif
endfunction

" jobstart is only in neovim
if exists("*jobstart")
    let _ = jobstart(['neovim2.sh', '--vim'], {'on_stdout': function('s:SetPythonHostProg')})
    let _ = jobstart(['neovim3.sh', '--vim'], {'on_stdout': function('s:SetPythonHostProg')})
endif

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neovim-sh-0.1.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

neovim_sh-0.1.1-py2.py3-none-any.whl (2.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file neovim-sh-0.1.1.tar.gz.

File metadata

  • Download URL: neovim-sh-0.1.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.9.1

File hashes

Hashes for neovim-sh-0.1.1.tar.gz
Algorithm Hash digest
SHA256 186881919305e42986061cecaac4fd971af17b7875daf8138b7b464ef4068f38
MD5 35d7cd99225c3214bf873e6258a53fe0
BLAKE2b-256 e7570ddc520eb9407a7dd0381f14ead1b42e900b72c86ddde4e65d8c55a63d39

See more details on using hashes here.

File details

Details for the file neovim_sh-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: neovim_sh-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.9.1

File hashes

Hashes for neovim_sh-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bcf9546f81fa1716055b8c32f5060a49cbbbbbcc6b921b06ddde443a4c6e2048
MD5 95726d4603212cd2388d8dadecee48b9
BLAKE2b-256 b345dccbea3b78a78b037b3d03041d1d2724a351400c178f2ad0017f24a3a4d6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page