kickstart.nvim/lua/plugins.lua

61 lines
1.7 KiB
Lua
Raw Normal View History

2024-03-03 23:30:02 +00:00
-- [[ Install `lazy.nvim` plugin manager ]]
-- See `:help lazy.nvim.txt` or https://github.com/folke/lazy.nvim for more info
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
if not vim.loop.fs_stat(lazypath) then
local lazyrepo = 'https://github.com/folke/lazy.nvim.git'
vim.fn.system { 'git', 'clone', '--filter=blob:none', '--branch=stable', lazyrepo, lazypath }
end ---@diagnostic disable-next-line: undefined-field
vim.opt.rtp:prepend(lazypath)
-- To check the current status of your plugins, run
-- :Lazy
--
-- You can press `?` in this menu for help. Use `:q` to close the window
--
-- To update plugins, you can run
-- :Lazy update
2024-03-04 00:33:06 +00:00
2024-03-03 23:30:02 +00:00
require('lazy').setup {
2024-03-04 00:33:06 +00:00
-- [[ Default plugins in lua/kickstart/ ]]
2024-03-03 23:30:02 +00:00
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
-- Use `opts = {}` to force a plugin to be loaded.
-- "gc" to comment visual regions/lines
{ 'numToStr/Comment.nvim', opts = {} },
2024-03-04 00:33:06 +00:00
-- Highlight todo, notes, etc in comments
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
2024-03-03 23:30:02 +00:00
2024-03-04 00:33:06 +00:00
-- Modular plugins use `require 'path/name'`
-- Config at lua/path/name.lua
2024-03-03 23:30:02 +00:00
2024-03-04 00:33:06 +00:00
require 'kickstart/plugins/gitsigns',
2024-03-03 23:30:02 +00:00
2024-03-04 00:33:06 +00:00
require 'kickstart/plugins/which-key',
2024-03-03 23:30:02 +00:00
2024-03-04 00:33:06 +00:00
require 'kickstart/plugins/telescope',
2024-03-03 23:30:02 +00:00
2024-03-04 00:33:06 +00:00
require 'kickstart/plugins/lsp',
2024-03-03 23:30:02 +00:00
2024-03-04 00:33:06 +00:00
require 'kickstart/plugins/conform',
2024-03-03 23:30:02 +00:00
2024-03-04 00:33:06 +00:00
require 'kickstart/plugins/cmp',
2024-03-03 23:30:02 +00:00
2024-03-04 00:33:06 +00:00
require 'kickstart/plugins/tokyonight',
2024-03-03 23:30:02 +00:00
2024-03-04 00:33:06 +00:00
require 'kickstart/plugins/mini',
2024-03-03 23:30:02 +00:00
2024-03-04 00:33:06 +00:00
require 'kickstart/plugins/treesitter',
2024-03-03 23:30:02 +00:00
2024-03-04 00:33:06 +00:00
-- idrk what's going on with these ones lol
require 'kickstart.plugins.debug',
2024-03-03 23:30:02 +00:00
-- require 'kickstart.plugins.indent_line',
2024-03-04 00:33:06 +00:00
-- [[ Custom plugins in lua/custom/ ]]
-- require 'custom/plugins/harpoon',
2024-03-03 23:30:02 +00:00
}