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.2.tar.gz (2.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: neovim-sh-0.1.2.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.7

File hashes

Hashes for neovim-sh-0.1.2.tar.gz
Algorithm Hash digest
SHA256 31b18973d6702e8d54a151dab35f18b88d75986a562a46db7e94efccd79afe4b
MD5 a8bcd6936e24d8441b5e2a27febb9f01
BLAKE2b-256 70632789cec85b344a77430fdfe20e4ee7528e9b6b8a9ff5756b1043fbe34d1e

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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page