init.lua
522 bytes
1vim.g.mapleader = " "
2
3local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
4
5if not vim.uv.fs_stat(lazypath) then
6 vim.fn.system({
7 "git",
8 "clone",
9 "--filter=blob:none",
10 "https://github.com/folke/lazy.nvim.git",
11 "--branch=stable",
12 lazypath,
13 })
14end
15
16vim.opt.rtp:prepend(lazypath)
17
18require("sets")
19
20require("lazy").setup("plugins", {
21 change_detection = {
22 enabled = true,
23 notify = false,
24 },
25})
26
27vim.cmd([[colorscheme gruvbox]])
28
29require("mappings")
30require("autocmd")
31require("git")
32require("line")