Skip to content

diegognt/neovim-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

224 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim-setup

Personal set up for Neovim v 0.11.x on macOs and Arch Linux systems.

Requirements

Hombrew(macOS)

Follows the instruction of the Hombrew site

NodeJS

To use a Node version manager, like fnm Then install the Neovim node support package,

npm install -g neovim

Python

For Python, makes sure to set up the provider using a virtualenv, follows the following steps,

Installs pyenv and pyenv-virtualenv, run on mac brew install pyenv pyenv-virtualenv

pyenv install <python-version>
pyenv virtualenv <python-version> py3nvim
pyenv activate py3nvim
python -m pip install pynvim neovim
pyenv which python  # save the path

Go to ./lua/diegognt/options.lua and assign the python path to the vim.g.python3_host_prog field.

Rust

  • On macOS run, brew install rust
  • On Arch, sudo pacman -S rust

Stylua

This a Lua formatter, to install it run,

cargo install stylua

Note: Make sure to follow the post-installation instruction.

fd

  • On macOS run, brew install fd
  • On Arch run, sudo pacman -S fd

ripgrep

  • On macOS run, brew install ripgrep
  • On Arch run, sudo pacman -S ripgrep

Set up

  1. Clone the repo
git clone https://github.com/diegognt/neovim-setup.git neovim-setup
  1. Go to the directory.
cd neovim-setup
  1. Run:
ln -s "$(pwd)" ~/.config/nvim

Special thanks

About

Personal Neovim set up

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages