141 lines
2.6 KiB
Lua
141 lines
2.6 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"
|
|
},
|
|
},
|
|
},
|
|
|
|
{
|
|
"NeogitOrg/neogit",
|
|
dependencies = {
|
|
"nvim-lua/plenary.nvim",
|
|
"nvim-telescope/telescope.nvim",
|
|
},
|
|
config = true,
|
|
},
|
|
|
|
{
|
|
"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 = {}
|
|
},
|
|
|
|
}
|