40 lines
700 B
Lua
40 lines
700 B
Lua
vim.g.mapleader = " "
|
|
|
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
|
|
|
if not vim.loop.fs_stat(lazypath) then
|
|
vim.fn.system({
|
|
"git",
|
|
"clone",
|
|
"--filter=blob:none",
|
|
"https://github.com/folke/lazy.nvim.git",
|
|
"--branch=stable",
|
|
lazypath,
|
|
})
|
|
end
|
|
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
require("sets")
|
|
|
|
require("lazy").setup("plugins", {
|
|
change_detection = {
|
|
enabled = true,
|
|
notify = false,
|
|
},
|
|
})
|
|
|
|
vim.cmd([[colorscheme gruvbox]])
|
|
|
|
require("sets")
|
|
require("mappings")
|
|
require("autocmd")
|
|
require("git")
|
|
require("lsp")
|
|
require("line")
|
|
require("comment")
|
|
|
|
require("telescope").load_extension("projects")
|
|
require("telescope").load_extension("fzf")
|
|
require("project_nvim").setup({})
|