This commit is contained in:
2026-04-21 23:24:25 +02:00
parent 4519c8bf89
commit ba7ea483b0
13 changed files with 192 additions and 159 deletions

View File

@@ -14,16 +14,15 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
end
vim.opt.rtp:prepend(lazypath)
-- opts.rocks.enabled = false
vim.g.mapleader = " "
local plugins = {
-- "wbthomason/packer.nvim",
{
"nvim-telescope/telescope.nvim",
version = "0.1.8",
-- or , branch = "0.1.x",
dependencies = { { "nvim-lua/plenary.nvim" } }
version = "0.2.1",
dependencies = { { "nvim-lua/plenary.nvim" },
{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'make' },
},
},
{
"rose-pine/neovim",
@@ -32,56 +31,43 @@ local plugins = {
vim.cmd("colorscheme rose-pine")
end
},
{
"nvim-treesitter/nvim-treesitter",
tag = "v0.10.0",
lazy = false,
build = ":TSUpdate"
-- build = function()
-- -- local ts_update = require("nvim-treesitter.install").update({ with_sync = true })
-- -- ts_update()
-- end
},
{ "nvim-treesitter/nvim-treesitter", branch = "main", lazy = false, build = ":TSUpdate" },
{
"ThePrimeagen/harpoon",
branch = "harpoon2",
dependencies = { "nvim-lua/plenary.nvim" }
},
-- "theprimeagen/harpoon",
"mbbill/undotree",
"tpope/vim-fugitive",
-- ("christoomey/vim-tmux-navigator")
-- "huggingface/llm.nvim",
"subnut/nvim-ghost.nvim",
"unblevable/quick-scope",
-- ({
-- "kr40/nvim-macros",
-- cmd = {"MacroSave", "MacroYank", "MacroSelect", "MacroDelete"},
-- opts = {
-- json_file_path = vim.fs.normalize(vim.fn.stdpath("config") .. "/macros.json"), -- Location where the macros will be stored
-- default_macro_register = "q", -- Use name default register for :MacroYank and :MacroSave and :MacroSelect Raw functions
-- json_formatter = "none", -- can be "none" | "jq" | "yq" used to pretty print the json file (jq or yq must be installed!)
-- }
-- })
-- "unblevable/quick-scope",
"andweeb/presence.nvim",
"numToStr/Comment.nvim",
-- "echasnovski/mini.align",
{
"epwalsh/obsidian.nvim",
version = "*",
dependencies = {
"nvim-lua/plenary.nvim"
'stevearc/oil.nvim',
---@module 'oil'
---@type oil.SetupOpts
opts = {},
-- Optional dependencies
dependencies = { { "nvim-mini/mini.icons", opts = {} } },
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
lazy = false,
},
{
-- The tmux `Prefix + z` behaviour
"szw/vim-maximizer",
keys = {
{ "<leader>z", "<cmd>MaximizerToggle<CR>" },
}
},
"echasnovski/mini.align",
-- use {"kevinhwang91/nvim-ufo", dependencies = "kevinhwang91/promise-async"}
{
"VonHeikemen/lsp-zero.nvim",
branch = "v3.x",
dependencies = {
--- Uncomment the two plugins below if you want to manage the language servers from neovim
{ "williamboman/mason.nvim" },
{ "williamboman/mason-lspconfig.nvim" },
{ "neovim/nvim-lspconfig" },
{ "hrsh7th/nvim-cmp" },
{ "hrsh7th/cmp-nvim-lsp" },
@@ -92,19 +78,14 @@ local plugins = {
"nvim-flutter/flutter-tools.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
-- "stevearc/dressing.nvim", -- optional for vim.ui.select
},
},
{
"goolord/alpha-nvim",
lazy = true,
event = "VimEnter",
-- config = function()
-- require("user.plugins.settings.alpha")
-- end,
cmd = "Alpha",
}, -- Splash Screen
},
}
require("lazy").setup(plugins, {})