PrashanthaTP / nvim-config

Configuration files for Neovim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Neovim Configuration

Version info

NVIM v0.8.2
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compiled by runneradmin@fv-az28-353

Features: -acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM\sysinit.vim"
  fall-back for $VIM: "C:/Program Files (x86)/nvim/share/nvim"

Run :checkhealth for more info

Tip

set XDG_CONFIG_HOME in ~/.bash_profile or ~/.bashrc

export XDG_CONFIG_HOME=$HOME/.config

so that nvim config can be kept inside `$HOME/.config/nvim'

Setup

1. Clone this repo

git clone --depth=1 git@github.com:PrashanthaTP/nvim-config.git ~/.config/nvim

2. Package manager setup

  • Update this line in packer.lua {#packer-config-v1} with custom location where the plugins to be stored
vim.opt.packpath:append("D:/Applications/Nvim/nvim")
  • Download packer.nvim
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
 <path from previous step>/pack/packer/start/packer.nvim
  • Update package_root
require('packer').init(
{
	package_root = "D:/Applications/Nvim/nvim/pack"
}
  • Download plugins

Run the following inside nvim

:PackerSync

LSP

  • All lsp servers should be in PATH before lsp plugins are loaded

About

Configuration files for Neovim


Languages

Language:Lua 98.7%Language:Shell 1.3%