My personal Neovim configuration. Very simple configuration that provides lsp servers and formatting for: Rust, C, Python, Javascript, CSS, HTML and Lua; along with other features. All the plugins are pinned to a specific commit in order to give better stability.
This configuration is guaranteed to work with this version of Neovim:
Commit: 9fa7c0a04638ee3d5fefbdcec347b1c07a5ce9ce
Build Neovim from source, expecially if you are using Debian or Ubuntu.
Clean up you previous neovim configuration and install the new one with the scripts setup.sh:
git clone 'https://github.com/hjrgrn/nvim-config.git'
cd nvim-config
chmod 760 setup.sh
./setup.shYou can import your previous sessions if you use startify:
chmod 760 import_session.sh
./import_session.shLaunch Neovim and wait for everything to be installed automatically(it may take a couple of minutes).
For nvim-telescope on ubuntu:
sudo apt install ripgrep fd-findFor lsp nodejs and npm need to be installed:
how to install them tutorial, I install them through nvm;
NOTE: don't install them from Ubuntu's or Debian's repos becouse those versions are probabily too old to be compatible with this setup.
Go for gopls:
sudo apt install golang-go-
Inspiration taken from these repos:
-
Plugin manager:
-
Lsp manager:
-
Installing Node.js and npm for Mason on Ubuntu(for arch just install them from pacman):
-
All the other plugins used can be found in plugins.lua.