nvim/lua/qvim/plugins.lua

220 lines
4.7 KiB
Lua
Raw Normal View History

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',
2024-11-11 10:21:10 +00:00
-- {
-- "kylechui/nvim-surround",
-- version = "*",
-- config = function()
-- require("nvim-surround").setup({})
-- end,
-- },
2024-10-19 07:57:01 +00:00
{
2024-11-11 10:21:10 +00:00
'echasnovski/mini.nvim',
version = false,
2024-10-19 07:57:01 +00:00
config = function()
2024-11-11 10:21:10 +00:00
require("mini.surround").setup()
end
2024-10-19 07:57:01 +00:00
},
{
"numToStr/Comment.nvim",
2024-11-11 10:21:10 +00:00
config = true
2024-10-19 07:57:01 +00:00
},
-- {
-- "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.*',
2024-11-11 10:21:10 +00:00
config = true
2024-10-19 07:57:01 +00:00
},
{
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons", lazy = true },
},
{
"lukas-reineke/indent-blankline.nvim",
main = "ibl",
---@module "ibl"
---@type ibl.config
2024-11-11 12:51:12 +00:00
opts = {
scope = {
enabled = true,
show_start = false,
show_end = false,
injected_languages = false,
highlight = { "Function", "Label" },
priority = 500,
}
},
2024-10-19 07:57:01 +00:00
},
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-11-11 10:21:10 +00:00
{
"lervag/vimtex",
lazy = false, -- we don't want to lazy load VimTeX
-- tag = "v2.15", -- uncomment to pin to a specific release
init = function()
-- VimTeX configuration goes here, e.g.
vim.g.vimtex_view_method = "zathura"
vim.g.vimtex_compiler_method = "latexmk"
vim.g.vimtex_compiler_latexmk_engine = "xelatex"
end
},
2024-11-11 12:51:12 +00:00
"shortcuts/no-neck-pain.nvim",
{
"MysticalDevil/inlay-hints.nvim",
event = "LspAttach",
dependencies = { "neovim/nvim-lspconfig" },
config = function()
require("inlay-hints").setup()
end
}
2024-10-19 07:57:01 +00:00
}