135 lines
2.8 KiB
Lua
135 lines
2.8 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",
|
|
"goimports", "gofumpt", "gomodifytags", "impl", "delve",
|
|
"typescript-language-server",
|
|
"clangd",
|
|
},
|
|
},
|
|
},
|
|
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
opts = {
|
|
ensure_installed = {
|
|
"vim",
|
|
"lua",
|
|
"vimdoc",
|
|
"html",
|
|
"css",
|
|
"python",
|
|
"typescript",
|
|
"go",
|
|
"gomod",
|
|
"gowork",
|
|
"gosum",
|
|
},
|
|
},
|
|
},
|
|
|
|
{
|
|
"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,
|
|
},
|
|
|
|
{
|
|
"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" }
|
|
}
|
|
},
|
|
}
|