radiant.nvim/init.lua

61 lines
1.3 KiB
Lua

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({
-- Default theme
"devraza/kagayaki.nvim",
"folke/which-key.nvim",
{
"nvim-telescope/telescope.nvim",
dependencies = { 'nvim-lua/plenary.nvim' },
},
"neovim/nvim-lspconfig",
"romgrk/barbar.nvim",
"nvim-lualine/lualine.nvim",
{
"NeogitOrg/neogit",
dependencies = {
"nvim-lua/plenary.nvim",
"sindrets/diffview.nvim",
"nvim-telescope/telescope.nvim",
},
config = true
},
{"ellisonleao/glow.nvim", config = true, cmd = "Glow"},
{
"max397574/better-escape.nvim",
config = function()
require("better_escape").setup()
end,
},
"rktjmp/lush.nvim",
{
'goolord/alpha-nvim',
dependencies = { 'nvim-tree/nvim-web-devicons' },
};
{
"nvim-neorg/neorg",
build = ":Neorg sync-parsers",
branch = "main",
dependencies = { "nvim-lua/plenary.nvim" },
},
})
-- Imports from files
require 'core'