2023-12-30 14:48:18 +00:00
|
|
|
vim.g.mapleader = " " -- Set map leader
|
|
|
|
|
|
|
|
-- Bootstrap package manager (lazy.nvim)
|
|
|
|
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)
|
|
|
|
|
|
|
|
-- Setup the package manager with plugins and configuration options
|
|
|
|
require("lazy").setup({
|
2024-01-16 20:34:00 +00:00
|
|
|
-- Default theme
|
|
|
|
"devraza/kagayaki.nvim",
|
|
|
|
|
2023-12-30 14:48:18 +00:00
|
|
|
"folke/which-key.nvim",
|
2024-01-16 20:34:00 +00:00
|
|
|
{
|
|
|
|
"nvim-telescope/telescope.nvim",
|
|
|
|
dependencies = { 'nvim-lua/plenary.nvim' },
|
|
|
|
},
|
2023-12-30 14:48:18 +00:00
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
"romgrk/barbar.nvim",
|
|
|
|
"nvim-lualine/lualine.nvim",
|
|
|
|
{
|
2024-01-16 20:34:00 +00:00
|
|
|
"NeogitOrg/neogit",
|
2023-12-30 14:48:18 +00:00
|
|
|
dependencies = {
|
|
|
|
"nvim-lua/plenary.nvim",
|
2024-01-16 20:34:00 +00:00
|
|
|
"sindrets/diffview.nvim",
|
|
|
|
"nvim-telescope/telescope.nvim",
|
|
|
|
},
|
|
|
|
config = true
|
2023-12-30 14:48:18 +00:00
|
|
|
},
|
2024-01-16 20:34:00 +00:00
|
|
|
{"ellisonleao/glow.nvim", config = true, cmd = "Glow"},
|
2023-12-30 14:48:18 +00:00
|
|
|
{
|
2024-01-16 20:34:00 +00:00
|
|
|
"max397574/better-escape.nvim",
|
|
|
|
config = function()
|
|
|
|
require("better_escape").setup()
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
"rktjmp/lush.nvim",
|
|
|
|
{
|
2023-12-30 14:48:18 +00:00
|
|
|
"nvim-treesitter/nvim-treesitter",
|
|
|
|
version = false,
|
|
|
|
build = ":TSUpdate",
|
|
|
|
opts = {
|
|
|
|
highlight = { enable = true },
|
|
|
|
indent = { enable = true },
|
2024-01-16 20:34:00 +00:00
|
|
|
ensure_installed = "maintained",
|
2023-12-30 14:48:18 +00:00
|
|
|
}
|
2024-01-16 20:34:00 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'goolord/alpha-nvim',
|
|
|
|
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
|
|
|
};
|
2024-01-17 23:22:23 +00:00
|
|
|
{
|
|
|
|
"nvim-neorg/neorg",
|
|
|
|
build = ":Neorg sync-parsers",
|
|
|
|
dependencies = { "nvim-lua/plenary.nvim" },
|
|
|
|
config = function()
|
|
|
|
require("neorg").setup {
|
|
|
|
load = {
|
|
|
|
["core.defaults"] = {},
|
|
|
|
["core.concealer"] = {},
|
|
|
|
["core.dirman"] = {
|
|
|
|
config = {
|
|
|
|
workspaces = {
|
|
|
|
notes = "~/NAS/Neorg/Notes",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
end,
|
|
|
|
},
|
2023-12-30 14:48:18 +00:00
|
|
|
})
|
|
|
|
|
|
|
|
-- Imports from files
|
|
|
|
require 'core'
|