2023-08-08 00:48:22 +04:00
|
|
|
-- bootstrap lazy.nvim
|
|
|
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
|
|
|
if not vim.loop.fs_stat(lazypath) then
|
2023-08-23 21:01:04 +04:00
|
|
|
vim.fn.system({
|
|
|
|
"git",
|
|
|
|
"clone",
|
|
|
|
"--filter=blob:none",
|
|
|
|
"https://github.com/folke/lazy.nvim.git",
|
|
|
|
"--branch=stable", -- latest stable release
|
|
|
|
lazypath,
|
|
|
|
})
|
2023-07-03 02:27:02 +04:00
|
|
|
end
|
2023-08-08 00:48:22 +04:00
|
|
|
vim.opt.rtp:prepend(lazypath)
|
2023-07-03 02:27:02 +04:00
|
|
|
|
2023-08-23 21:01:04 +04:00
|
|
|
vim.g.mapleader = " "
|
2023-07-03 02:27:02 +04:00
|
|
|
|
2023-08-08 00:48:22 +04:00
|
|
|
local plugins = {
|
2023-08-23 21:01:04 +04:00
|
|
|
-- syntax highlighting apparently
|
|
|
|
"nvim-treesitter/nvim-treesitter",
|
|
|
|
"windwp/nvim-ts-autotag",
|
|
|
|
|
2024-10-02 11:44:04 +04:00
|
|
|
{ "wakatime/vim-wakatime", lazy = false },
|
2023-08-08 00:48:22 +04:00
|
|
|
}
|
2023-07-03 02:27:02 +04:00
|
|
|
|
2023-08-08 00:48:22 +04:00
|
|
|
require("lazy").setup(plugins, {})
|