nixos-config/dotfiles/nvim/lua/plugins/init.lua

78 lines
1.4 KiB
Lua
Raw Normal View History

return {
{
"stevearc/conform.nvim",
event = "BufWritePre",
opts = require "configs.conform",
},
{
"neovim/nvim-lspconfig",
config = function()
require "configs.lspconfig"
end,
},
{
"kdheepak/lazygit.nvim",
lazy = true,
cmd = {
"LazyGit",
"LazyGitConfig",
"LazyGitCurrentFile",
"LazyGitFilter",
"LazyGitFilterCurrentFile",
},
keys = {
{ "<leader>gg", "<cmd>LazyGit<cr>", desc = "LazyGit" },
},
},
{
"nvim-telescope/telescope.nvim",
dependencies = { "nvim-treesitter/nvim-treesitter" },
cmd = "Telescope",
opts = function()
local op = require "nvchad.configs.telescope"
op.defaults.file_ignore_patterns = {
".git",
"cache",
"node_modules",
"vendor",
}
return op
end,
},
{
"ThePrimeagen/harpoon",
branch = "harpoon2",
dependencies = { "nvim-lua/plenary.nvim" },
},
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"bash",
"css",
"dockerfile",
"go",
"html",
"javascript",
"json",
"lua",
"make",
"markdown",
"nix",
"php",
"python",
"rust",
"toml",
"tsx",
"typescript",
"twig",
"vim",
"vue",
"yaml",
},
},
},
}