Skip to content

ksk0/nvim-bricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

nvim-bricks

If you install neovim using nvim-install script, you will need this plugin, to be able to use installed packages.

Installation (using packer)

use {
  "ksk0/nvim-bricks",
  requires = "nvim-lua/plenary.nvim"
}

Why and how

When neovim is installed using nvim-install script, node, ruby, rust, python, lua and perl packages, will be installed into user directory:

$HOME/.local/share/neovim/bricks

with following structure:

bricks/
├── cargo
├── lua
├── node
├── perl5
├── python
└── ruby

To be able to use installed packages, some environment variables (PATH, PYTHONPATH, ...) have to be set. This is done with this plugin. Variables will be updated only if corresponding directory exists.

Usage

To be applied, script has to required once:

require("nvim-bricks")

Note: it is best to source the script, as soon as possible, if any of the installed modules are needed afterwards.

About

Enable modules installed by nvim-install script

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages