2024-10-19 07:57:01 +00:00
|
|
|
return {
|
|
|
|
-- Theming
|
|
|
|
"ellisonleao/gruvbox.nvim",
|
|
|
|
|
|
|
|
'nvim-telescope/telescope.nvim',
|
|
|
|
tag = '0.1.8',
|
|
|
|
dependencies = { 'nvim-lua/plenary.nvim' },
|
|
|
|
|
|
|
|
{
|
|
|
|
"nvim-treesitter/nvim-treesitter",
|
|
|
|
-- build = function()
|
|
|
|
-- require("nvim-treesitter.install").update({ with_sync = true })()
|
|
|
|
-- end,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"ThePrimeagen/harpoon",
|
|
|
|
branch = "harpoon2",
|
|
|
|
dependencies = { "nvim-lua/plenary.nvim" },
|
|
|
|
},
|
|
|
|
|
|
|
|
"mbbill/undotree",
|
|
|
|
|
|
|
|
"christoomey/vim-tmux-navigator",
|
|
|
|
|
|
|
|
'ivanesmantovich/xkbswitch.nvim',
|
|
|
|
|
|
|
|
{
|
|
|
|
"kylechui/nvim-surround",
|
|
|
|
version = "*",
|
|
|
|
config = function()
|
|
|
|
require("nvim-surround").setup({})
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"numToStr/Comment.nvim",
|
|
|
|
config = function()
|
|
|
|
require("Comment").setup()
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- {
|
|
|
|
-- "nvim-tree/nvim-tree.lua",
|
|
|
|
-- dependencies = {
|
|
|
|
-- { "nvim-tree/nvim-web-devicons" },
|
|
|
|
-- },
|
|
|
|
-- },
|
|
|
|
{
|
|
|
|
"nvim-neo-tree/neo-tree.nvim",
|
|
|
|
branch = "v3.x",
|
|
|
|
dependencies = {
|
|
|
|
"nvim-lua/plenary.nvim",
|
|
|
|
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
|
|
|
"MunifTanjim/nui.nvim",
|
|
|
|
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
's1n7ax/nvim-window-picker',
|
|
|
|
name = 'window-picker',
|
|
|
|
event = 'VeryLazy',
|
|
|
|
version = '2.*',
|
|
|
|
config = function()
|
|
|
|
require 'window-picker'.setup()
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"nvim-lualine/lualine.nvim",
|
|
|
|
dependencies = { "nvim-tree/nvim-web-devicons", lazy = true },
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"lukas-reineke/indent-blankline.nvim",
|
|
|
|
main = "ibl",
|
|
|
|
---@module "ibl"
|
|
|
|
---@type ibl.config
|
|
|
|
opts = {},
|
|
|
|
},
|
|
|
|
|
2024-11-03 12:18:09 +00:00
|
|
|
{
|
|
|
|
"rcarriga/nvim-notify",
|
|
|
|
config = function()
|
|
|
|
require("notify").setup({
|
|
|
|
background_colour = "#000000",
|
|
|
|
})
|
|
|
|
vim.notify = require('notify')
|
|
|
|
end
|
|
|
|
},
|
|
|
|
|
2024-10-19 07:57:01 +00:00
|
|
|
{
|
|
|
|
"folke/which-key.nvim",
|
|
|
|
config = function()
|
|
|
|
vim.o.timeout = true
|
|
|
|
vim.o.timeoutlen = 300
|
|
|
|
require("which-key").setup({})
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
|
|
|
|
"jiangmiao/auto-pairs",
|
|
|
|
|
|
|
|
"williamboman/mason.nvim",
|
|
|
|
|
|
|
|
-- lsp/format
|
|
|
|
{
|
|
|
|
"VonHeikemen/lsp-zero.nvim",
|
|
|
|
branch = "v3.x",
|
|
|
|
dependencies = {
|
|
|
|
"williamboman/mason.nvim",
|
|
|
|
"williamboman/mason-lspconfig.nvim",
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
"hrsh7th/nvim-cmp",
|
|
|
|
"hrsh7th/cmp-nvim-lsp",
|
|
|
|
"L3MON4D3/LuaSnip",
|
|
|
|
"ray-x/lsp_signature.nvim",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{ "rcarriga/nvim-dap-ui", dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio" } },
|
|
|
|
{ "mfussenegger/nvim-dap-python", dependencies = { "mfussenegger/nvim-dap" } },
|
|
|
|
|
|
|
|
{
|
|
|
|
"stevearc/conform.nvim",
|
|
|
|
event = { "BufWritePre" },
|
|
|
|
cmd = { "ConformInfo" },
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Git
|
|
|
|
"tpope/vim-fugitive",
|
|
|
|
"lewis6991/gitsigns.nvim",
|
|
|
|
{
|
|
|
|
"NeogitOrg/neogit",
|
|
|
|
dependencies = {
|
|
|
|
"nvim-lua/plenary.nvim",
|
|
|
|
"sindrets/diffview.nvim",
|
|
|
|
"nvim-telescope/telescope.nvim",
|
|
|
|
},
|
|
|
|
config = true
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Go
|
|
|
|
'ray-x/go.nvim',
|
|
|
|
'ray-x/guihua.lua',
|
|
|
|
|
|
|
|
-- note-taking
|
|
|
|
{
|
2024-11-03 12:18:09 +00:00
|
|
|
"vimwiki/vimwiki",
|
|
|
|
init = function()
|
|
|
|
vim.g.vimwiki_list = {
|
|
|
|
{
|
|
|
|
path = "~/documents/wiki",
|
|
|
|
auto_tags = 1,
|
|
|
|
auto_diary_index = 1,
|
|
|
|
syntax = 'markdown',
|
|
|
|
ext = '.md',
|
|
|
|
diary_rel_path = 'diary',
|
|
|
|
links_space_char = "_",
|
|
|
|
},
|
|
|
|
}
|
|
|
|
vim.g.vimwiki_markdown_link_ext = 1
|
|
|
|
vim.g.vimwiki_stripsym = ' '
|
|
|
|
vim.g.vimwiki_global_ext = 0
|
|
|
|
vim.g.vimwiki_auto_header = 1
|
|
|
|
vim.g.vimwiki_syntax_plugins = {
|
|
|
|
codeblock = {
|
|
|
|
["```lua"] = { parser = "lua" },
|
|
|
|
["```python"] = { parser = "python" },
|
|
|
|
["```javascript"] = { parser = "javascript" },
|
|
|
|
["```bash"] = { parser = "bash" },
|
|
|
|
["```html"] = { parser = "html" },
|
|
|
|
["```css"] = { parser = "css" },
|
|
|
|
["```c"] = { parser = "c" },
|
|
|
|
},
|
|
|
|
}
|
|
|
|
end
|
2024-10-19 07:57:01 +00:00
|
|
|
},
|
2024-11-03 12:18:09 +00:00
|
|
|
|
|
|
|
{ 'glacambre/firenvim', build = ":call firenvim#install(0)" },
|
|
|
|
|
|
|
|
-- html
|
|
|
|
"windwp/nvim-ts-autotag",
|
2024-10-19 07:57:01 +00:00
|
|
|
}
|