radiant.nvim/init.lua

65 lines
1.4 KiB
Lua
Raw Normal View History

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' },
};
2023-12-30 14:48:18 +00:00
})
-- Imports from files
require 'core'