radiant.nvim/init.lua

62 lines
1.3 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({
"folke/which-key.nvim",
"nvim-telescope/telescope.nvim",
"neovim/nvim-lspconfig",
"romgrk/barbar.nvim",
"nvim-lualine/lualine.nvim",
"devraza/particle.nvim",
2023-12-30 14:52:02 +00:00
{"ellisonleao/glow.nvim", config = true, cmd = "Glow"},
2023-12-30 14:48:18 +00:00
"rktjmp/lush.nvim",
{
"nvimdev/dashboard-nvim",
dependencies = {
"nvim-tree/nvim-web-devicons",
"nvim-lua/plenary.nvim",
}
},
{
"nvim-treesitter/nvim-treesitter",
version = false,
build = ":TSUpdate",
opts = {
highlight = { enable = true },
indent = { enable = true },
ensure_installed = {
"bash",
"diff",
"html",
"json",
"lua",
"markdown",
"python",
"rust",
"go",
"regex",
"toml",
"vim",
"yaml",
},
}
}
})
-- Imports from files
require 'core'