nvim/lua/plugins/init.lua

116 lines
3.6 KiB
Lua
Raw Normal View History

2025-05-13 16:00:41 +02:00
return {
2025-05-13 21:37:22 +02:00
--# plenary, handles multitasking and program effeciency
2025-05-13 16:00:41 +02:00
"nvim-lua/plenary.nvim",
2025-05-13 21:37:22 +02:00
--# telescope, open a windows to fuzzy find in for files or strings in files
2025-05-13 16:00:41 +02:00
{
'nvim-telescope/telescope.nvim',
tag = '0.1.8',
dependencies = { 'nvim-lua/plenary.nvim' }
},
2025-05-13 21:37:22 +02:00
--# treesitter, uses language parsers for highlighting
2025-05-13 16:00:41 +02:00
'nvim-treesitter/nvim-treesitter',
2025-05-13 21:37:22 +02:00
--# lualine, creates nice looking status bar
2025-05-13 16:00:41 +02:00
'nvim-lualine/lualine.nvim',
2025-05-13 21:37:22 +02:00
--# web-devicons, generates icons for nerd font
2025-05-13 16:00:41 +02:00
{
"nvim-tree/nvim-web-devicons",
opts = {}
},
2025-05-13 21:37:22 +02:00
--# nvim-tree, a filebrowser
{
"nvim-tree/nvim-tree.lua",
version = "*",
lazy = false,
dependencies = {
"nvim-tree/nvim-web-devicons",
},
},
--# neo-tree, a filebrowser
2025-05-13 16:00:41 +02:00
{
"nvim-neo-tree/neo-tree.nvim",
keys = {
{ "<leader>ft", "<cmd>Neotree toggle<cr>", desc = "NeoTree" },
},
opts = {},
},
2025-05-13 21:37:22 +02:00
--# gruvbox, a style
'morhetz/gruvbox',
--# catppuccin, a style
2025-05-13 16:00:41 +02:00
{
"catppuccin/nvim",
name = "catppuccin",
priority = 1000
},
2025-05-13 21:37:22 +02:00
--# fugitive, a git wrapper
2025-05-13 16:00:41 +02:00
'tpope/vim-fugitive',
2025-05-13 21:37:22 +02:00
--# tagbar, opens a view to see properties and methods of file
2025-05-13 16:00:41 +02:00
'majutsushi/tagbar',
2025-05-13 21:37:22 +02:00
--# gitgutter, shows git info in gutter
2025-05-13 16:00:41 +02:00
'airblade/vim-gitgutter',
2025-05-13 21:37:22 +02:00
--# deadcolumn, shows line limit when coming close
2025-05-13 16:00:41 +02:00
'Bekaboo/deadcolumn.nvim',
2025-05-13 21:37:22 +02:00
--# colorizer, show hex and other colors e.g: #ADADBF
2025-09-25 10:51:18 +02:00
--'norcalli/nvim-colorizer.lua', looks unmaintained
'NiklasV1/nvim-colorizer.lua',
2025-05-13 21:37:22 +02:00
--# SyntaxAttr, display syntax highlighting
2025-05-13 16:00:41 +02:00
'vim-scripts/SyntaxAttr.vim',
2025-05-13 21:37:22 +02:00
--# rainbow-delimiters, colors braces etc
2025-05-13 16:00:41 +02:00
'HiPhish/rainbow-delimiters.nvim',
2025-05-13 21:37:22 +02:00
--# marks, shows where marks are placed in gutter
2025-05-13 16:00:41 +02:00
'chentoast/marks.nvim',
2025-05-13 21:37:22 +02:00
--# indentwise, helps with indentation formatting
2025-05-13 16:00:41 +02:00
"jeetsukumaran/vim-indentwise",
2025-05-22 12:58:27 +02:00
--# local ai, needs llama.cpp which should be built using CUDA, see https://github.com/ggml-org/llama.cpp
2025-06-05 22:06:17 +02:00
{
'ggml-org/llama.vim',
init = function()
vim.g.llama_config = {
keymap_accept_line = "<Tab>",
keymap_accept_full = "<S-Tab>",
}
end,
},
2025-05-22 12:58:27 +02:00
--# indent-blankline, shows indentation
{
"lukas-reineke/indent-blankline.nvim",
main = "ibl",
commit = "29be0919b91fb59eca9e90690d76014233392bef",
},
2025-05-21 14:54:28 +02:00
--# lsp, the lazy way
{
"dundalek/lazy-lsp.nvim",
2025-09-25 10:51:18 +02:00
dependencies = { "neovim/nvim-lspconfig" },
2025-05-21 14:54:28 +02:00
config = function()
require("lazy-lsp").setup {}
2025-09-25 10:51:18 +02:00
end
2025-05-21 14:54:28 +02:00
},
2025-09-25 10:51:18 +02:00
--{
-- "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,
--},
2025-06-05 22:06:17 +02:00
-- Add scrollbar
'petertriho/nvim-scrollbar',
2025-05-13 16:00:41 +02:00
}
2025-05-13 21:37:22 +02:00
--"williamboman/mason.nvim",
--"williamboman/mason-lspconfig.nvim",
--"neovim/nvim-lspconfig",