nvim/lua/plugins/init.lua
2025-09-25 17:00:47 +02:00

203 lines
5.7 KiB
Lua

return {
--# plenary, handles multitasking and program effeciency
"nvim-lua/plenary.nvim",
--# telescope, open a windows to fuzzy find in for files or strings in files
{
'nvim-telescope/telescope.nvim',
tag = '0.1.8',
dependencies = { 'nvim-lua/plenary.nvim' }
},
--# treesitter, uses language parsers for highlighting
'nvim-treesitter/nvim-treesitter',
--# lualine, creates nice looking status bar
'nvim-lualine/lualine.nvim',
--# web-devicons, generates icons for nerd font
{
"nvim-tree/nvim-web-devicons",
opts = {}
},
--# nvim-tree, a filebrowser
{
"nvim-tree/nvim-tree.lua",
version = "*",
lazy = false,
dependencies = {
"nvim-tree/nvim-web-devicons",
},
},
--# gruvbox, a style
'morhetz/gruvbox',
--# fugitive, a git wrapper
'tpope/vim-fugitive',
--# tagbar, opens a view to see properties and methods of file
'majutsushi/tagbar',
--# gitgutter, shows git info in gutter
'airblade/vim-gitgutter',
--# deadcolumn, shows line limit when coming close
'Bekaboo/deadcolumn.nvim',
--# colorizer, show hex and other colors e.g: #ADADBF
'NiklasV1/nvim-colorizer.lua',
--# SyntaxAttr, display syntax highlighting
'vim-scripts/SyntaxAttr.vim',
--# rainbow-delimiters, colors braces etc
'HiPhish/rainbow-delimiters.nvim',
--# marks, shows where marks are placed in gutter
'chentoast/marks.nvim',
--# indentwise, helps with indentation formatting
"jeetsukumaran/vim-indentwise",
--# local ai, needs llama.cpp which should be built using CUDA, see https://github.com/ggml-org/llama.cpp
{
'ggml-org/llama.vim',
init = function()
vim.g.llama_config = {
keymap_accept_line = "<Tab>",
keymap_accept_full = "<S-Tab>",
}
end,
},
--# indent-blankline, shows indentation
{
"lukas-reineke/indent-blankline.nvim",
main = "ibl",
commit = "29be0919b91fb59eca9e90690d76014233392bef",
},
--# lsp, the lazy way
{
"dundalek/lazy-lsp.nvim",
dependencies = { "neovim/nvim-lspconfig" },
config = function()
require("lazy-lsp").setup {}
end
},
-- Add scrollbar
'petertriho/nvim-scrollbar',
-- Show shortcut keys
{
"folke/which-key.nvim",
event = "VeryLazy",
opts = {
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
},
keys = {
{
"<leader>?",
function()
require("which-key").show({ global = false })
end,
desc = "Buffer Local Keymaps (which-key)",
},
},
},
-- formatting!
{
"stevearc/conform.nvim",
opts = {
formatters_by_ft = { lua = { "stylua" } },
},
},
-- context menu
{
"nvzone/volt",
lazy = true
},
{
"nvzone/menu",
lazy = true
},
-- color picker
{
"nvzone/minty",
cmd = { "Shades", "Huefy" },
},
-- undo tree
{
"jiaoshijie/undotree",
dependencies = { "nvim-lua/plenary.nvim" },
---@module 'undotree.collector'
---@type UndoTreeCollector.Opts
opts = {
-- your options
},
keys = { -- load the plugin only when using it's keybinding:
{ "<leader>u", "<cmd>lua require('undotree').toggle()<cr>" },
},
},
{
'nvimdev/lspsaga.nvim',
config = function()
require('lspsaga').setup({})
end,
dependencies = {
'nvim-treesitter/nvim-treesitter', -- optional
'nvim-tree/nvim-web-devicons', -- optional
}
},
-- mini icons
{
'nvim-mini/mini.nvim',
version = '*'
},
-- custom welcome screen
{
"goolord/alpha-nvim",
config = function ()
require'alpha'.setup(require'alpha.themes.dashboard'.config)
end,
},
}
--"williamboman/mason.nvim",
--"williamboman/mason-lspconfig.nvim",
--"neovim/nvim-lspconfig",
--# neo-tree, a filebrowser
--{
-- "nvim-neo-tree/neo-tree.nvim",
-- keys = {
-- { "<leader>ft", "<cmd>Neotree toggle<cr>", desc = "NeoTree" },
-- },
-- opts = {},
--},
---- ui plugin is a collection of many UI modules like statusline, tabline, cheatsheet, nvdash and much more!
--"nvim-lua/plenary.nvim",
--{
-- "nvim-tree/nvim-web-devicons",
-- lazy = true
--},
--{
-- "nvchad/ui",
-- config = function()
-- require "nvchad"
-- end
--},
--{
-- "nvchad/base46",
-- lazy = true,
-- build = function()
-- require("base46").load_all_highlights()
-- end,
--},
--{
-- "dundalek/lazy-lsp.nvim",
-- commit="0ccc0238be37351d53e64c2f6c7f9e106e2bdb68",
-- dependencies = {
-- "neovim/nvim-lspconfig",
-- {"VonHeikemen/lsp-zero.nvim", branch = "v3.x"},
-- "hrsh7th/cmp-nvim-lsp",
-- "hrsh7th/nvim-cmp",
-- },
-- config = function()
-- local lsp_zero = require("lsp-zero")
-- lsp_zero.on_attach(function(client, bufnr)
-- -- see :help lsp-zero-keybindings to learn the available actions
-- lsp_zero.default_keymaps({
-- buffer = bufnr,
-- preserve_mappings = false
-- })
-- end)
-- require("lazy-lsp").setup {}
-- end,
--},