Files
nvim/lua/plugins/init.lua
T
2024-09-05 08:04:59 -05:00

151 lines
3.0 KiB
Lua

return {
{
"stevearc/conform.nvim",
-- event = 'BufWritePre', -- uncomment for format on save
config = function()
require "configs.conform"
end,
},
{
"neovim/nvim-lspconfig",
config = function()
require("nvchad.configs.lspconfig").defaults()
require "configs.lspconfig"
end,
},
{
"williamboman/mason.nvim",
opts = {
ensure_installed = {
"lua-language-server",
"stylua",
"html-lsp",
"css-lsp",
"prettier",
"basedpyright",
"mypy",
"black",
"ruff-lsp",
"typescript-language-server",
"clangd",
},
automatic_installation = true,
},
},
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"vim",
"lua",
"vimdoc",
"html",
"css",
"python",
"typescript"
},
},
},
{
"kylechui/nvim-surround",
version = "*", -- Use for stability; omit to use `main` branch for the latest features
event = "VeryLazy",
config = function()
require("nvim-surround").setup{}
end,
},
{
"Dynge/gitmoji.nvim",
dependencies = {
"hrsh7th/nvim-cmp",
},
opts = {
filetypes = { "gitcommit", "NeogitCommitMessage" },
completion = {
append_space = false,
complete_as = "emoji",
},
},
ft = "gitcommit"
},
{
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
build = function()
vim.fn["mkdp#util#install"]()
end,
},
{
"lewis6991/gitsigns.nvim",
opts = {
current_line_blame = true,
},
},
{
'nvimdev/dashboard-nvim',
event = 'VimEnter',
config = function()
require "configs.dashboard"
end,
dependencies = { {'nvim-tree/nvim-web-devicons'}}
},
-- {
-- "nvim-telescope/telescope.nvim",
-- tag = "0.1.5",
-- dependencies = {
-- 'nvim-lua/plenary.nvim',
-- 'jonarrien/telescope-cmdline.nvim',
-- },
-- keys = {
-- { ':', '<cmd>Telescope cmdline<cr>', desc = 'Cmdline' }
-- },
-- opts = {
-- ...,
-- extensions = {
-- cmdline = {
-- },
-- },
-- ...
-- },
-- config = function(_, opts)
-- require("telescope").setup(opts)
-- require("telescope").load_extension('cmdline')
-- end,
-- },
{
"folke/todo-comments.nvim",
dependencies = { "nvim-lua/plenary.nvim" },
opts = {}
},
{
"kdheepak/lazygit.nvim",
cmd = {
"LazyGit",
"LazyGitConfig",
"LazyGitCurrentFile",
"LazyGitFilter",
"LazyGitFilterCurrentFile",
},
-- optional for floating window border decoration
dependencies = {
"nvim-lua/plenary.nvim",
},
-- setting the keybinding for LazyGit with 'keys' is recommended in
-- order to load the plugin when the command is run for the first time
keys = {
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" }
}
},
}