diff options
author | talha <talha@talhaamir.xyz> | 2024-04-23 00:43:02 +0500 |
---|---|---|
committer | talha <talha@talhaamir.xyz> | 2024-04-23 00:43:02 +0500 |
commit | f4431f6d75baa71aa23318ea50bea3848f946ab1 (patch) | |
tree | b68fdc45b210d7c8adf2db39a2e7d499ccc1ba6f /init.lua | |
parent | 721ef14cf3906992d8615456493de439ada8e1b8 (diff) |
Migrated to lazy.nvim, added neomake, a few remaps
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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") + |