mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 14:12:41 +00:00
84 lines
2.0 KiB
Lua
Executable File
84 lines
2.0 KiB
Lua
Executable File
-- Bootstrap Lazy.
|
|
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", -- latest stable release
|
|
lazypath,
|
|
})
|
|
end
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
require("lazy").setup({
|
|
dev = {
|
|
path = "~/LocalProjects/plugins",
|
|
fallback = true,
|
|
},
|
|
-- Import all the plugin configs in the 'plugin' directory
|
|
{ import = "plugins" },
|
|
-- Plugins that don't have a configuration file.
|
|
{
|
|
"folke/zen-mode.nvim",
|
|
opts = {},
|
|
},
|
|
{
|
|
"christoomey/vim-tmux-navigator",
|
|
lazy = false,
|
|
},
|
|
{ "NoahTheDuke/vim-just", ft = { "just" } },
|
|
{
|
|
"chipsenkbeil/distant.nvim",
|
|
version = "v0.*",
|
|
event = "VeryLazy",
|
|
},
|
|
{
|
|
"echasnovski/mini.ai",
|
|
version = "*",
|
|
config = function()
|
|
require("mini.ai").setup({})
|
|
end,
|
|
},
|
|
{
|
|
"vhyrro/luarocks.nvim",
|
|
enabled = true,
|
|
priority = 1001, -- this plugin needs to run before anything else
|
|
opts = {
|
|
rocks = { "magick" },
|
|
},
|
|
},
|
|
{
|
|
"folke/lazydev.nvim",
|
|
ft = "lua", -- only load on lua files
|
|
opts = {
|
|
library = {
|
|
-- See the configuration section for more details
|
|
-- Load luvit types when the `vim.uv` word is found
|
|
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"MeanderingProgrammer/render-markdown.nvim",
|
|
-- dependencies = { "nvim-treesitter/nvim-treesitter", "echasnovski/mini.nvim" }, -- if you use the mini.nvim suite
|
|
dependencies = { "nvim-treesitter/nvim-treesitter", "echasnovski/mini.icons" }, -- if you use standalone mini plugins
|
|
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons
|
|
opts = {},
|
|
},
|
|
}, {
|
|
checker = {
|
|
enabled = true,
|
|
notify = false,
|
|
},
|
|
change_detection = {
|
|
notify = false,
|
|
},
|
|
rocks = {
|
|
hererocks = true, -- recommended if you do not have global installation of Lua 5.1.
|
|
},
|
|
})
|
|
|
|
vim.keymap.set("n", "<leader>ll", "<CMD>Lazy<CR>", { desc = "Open [L]azy" })
|