From f4431f6d75baa71aa23318ea50bea3848f946ab1 Mon Sep 17 00:00:00 2001 From: talha Date: Tue, 23 Apr 2024 00:43:02 +0500 Subject: Migrated to lazy.nvim, added neomake, a few remaps --- init.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 1105fe8..4a33ff0 100644 --- a/init.lua +++ b/init.lua @@ -1 +1,19 @@ +-- setup lazy +local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" +if not (vim.uv or vim.loop).fs_stat(lazypath) then + vim.fn.system({ + "git", + "clone", + "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", -- latest stable release + lazypath, + }) +end +vim.opt.rtp:prepend(lazypath) + +-- setup leader key +vim.g.mapleader = " " + require("talha") + -- cgit v1.2.3