From 82cc8c3e1ce8080cff29dcffa4f35294793f2e44 Mon Sep 17 00:00:00 2001 From: elkowar <5300871+elkowar@users.noreply.github.com> Date: Sat, 8 May 2021 22:26:39 +0200 Subject: [PATCH] NO INIT.VIM ANYMORE --- files/.config/nvim/{init.vim => init.lua} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename files/.config/nvim/{init.vim => init.lua} (78%) diff --git a/files/.config/nvim/init.vim b/files/.config/nvim/init.lua similarity index 78% rename from files/.config/nvim/init.vim rename to files/.config/nvim/init.lua index ca43d6f..0649653 100644 --- a/files/.config/nvim/init.vim +++ b/files/.config/nvim/init.lua @@ -1,7 +1,7 @@ -let g:vim_config_root = expand(':p:h') -let $VIM_ROOT = g:vim_config_root -lua << EOF +-- not even used, but epic. stores the path to the root config directory. +local vim_config_root = vim.fn.expand(":p:h") + local pack_path = vim.fn.stdpath("data") .. "/site/pack" function ensure(user, repo) @@ -17,6 +17,6 @@ end ensure("wbthomason", "packer.nvim") ensure("Olical", "aniseed") -vim.g["aniseed#env"] = { compile = true } -EOF - +vim.g["aniseed#env"] = { + compile = true +}