made neovim config using XDG_BASE_FOLDER specifications

This commit is contained in:
Abhigyan Madhukalya
2022-10-08 18:43:06 +05:30
parent 8ff0e15eec
commit 8061281109
11 changed files with 391 additions and 308 deletions
+14
View File
@@ -0,0 +1,14 @@
-------------------------------------------------
-- DT'S NEOVIM CONFIGURATION
-- Neovim website: https://neovim.io/
-- DT's dotfiles: https://gitlab.com/dwt1/dotfiles
-------------------------------------------------
local fn = vim.fn
local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim"
if fn.empty(fn.glob(install_path)) > 0 then
packer_bootstrap =
fn.system({ "git", "clone", "--depth", "1", "https://github.com/wbthomason/packer.nvim", install_path })
vim.cmd([[packadd packer.nvim]])
end