dotfiles/nvim/lua/trianta/lazy.lua

92 lines
2.2 KiB
Lua
Raw Permalink Normal View History

2024-01-25 11:56:17 -06:00
-- Lazy
2024-01-16 18:32:22 -06:00
2024-01-25 11:56:17 -06:00
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,
})
2024-01-25 11:56:17 -06:00
end
vim.opt.rtp:prepend(lazypath)
2024-01-16 18:32:22 -06:00
return require('lazy').setup({
2024-02-14 18:52:18 -06:00
{
"folke/lazy.nvim",
tag = "stable",
},
2024-01-16 18:32:22 -06:00
{
"folke/todo-comments.nvim",
dependencies = { "nvim-lua/plenary.nvim" },
opts = {
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
}
},
2025-02-04 07:24:53 -06:00
{
"catppuccin/nvim",
name = "catppuccin",
priority = 1000
},
-- colors
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
},
{
'VonHeikemen/lsp-zero.nvim',
branch = 'v3.x',
dependencies = {
-- LSP Support
"neovim/nvim-lspconfig", -- Required
-- Autocompletion
'hrsh7th/nvim-cmp', -- Required
'hrsh7th/cmp-nvim-lsp', -- Required
'hrsh7th/cmp-buffer', -- Optional
'hrsh7th/cmp-path', -- Optional
-- Snippets
'L3MON4D3/LuaSnip', -- Required
'rafamadriz/friendly-snippets', -- Optional
}
},
-- navigation
{
"nvim-telescope/telescope.nvim",
tag = '0.1.8',
dependencies = { "nvim-lua/plenary.nvim" },
},
{
"ThePrimeagen/harpoon",
branch = "harpoon2",
dependencies = { "nvim-lua/plenary.nvim" },
},
-- obsidian
{
"epwalsh/obsidian.nvim",
version = "v3.2.0",
lazy = true,
ft = "markdown",
dependencies = {
"nvim-lua/plenary.nvim",
},
opts = {
workspaces = {
{
name = "trinote",
path = "~/sync/obsidian/Trinote/",
},
},
disable_frontmatter = true,
},
ui = {
enable = true
}
},
2024-01-16 18:32:22 -06:00
})