nvim/lua/plugins/init.lua
2025-09-25 10:51:18 +02:00

116 lines
3.6 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",
},
},
--# neo-tree, a filebrowser
{
"nvim-neo-tree/neo-tree.nvim",
keys = {
{ "<leader>ft", "<cmd>Neotree toggle<cr>", desc = "NeoTree" },
},
opts = {},
},
--# gruvbox, a style
'morhetz/gruvbox',
--# catppuccin, a style
{
"catppuccin/nvim",
name = "catppuccin",
priority = 1000
},
--# 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
--'norcalli/nvim-colorizer.lua', looks unmaintained
'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
},
--{
-- "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,
--},
-- Add scrollbar
'petertriho/nvim-scrollbar',
}
--"williamboman/mason.nvim",
--"williamboman/mason-lspconfig.nvim",
--"neovim/nvim-lspconfig",