refreshed vim

This commit is contained in:
2025-01-05 14:09:30 +01:00
parent 5849fbfe2d
commit 8b7f848695
4 changed files with 62 additions and 20 deletions

View File

@@ -25,6 +25,7 @@
"mason-lspconfig.nvim": { "branch": "main", "commit": "97d9f1d3ad205dece6bcafd1d71cf1507608f3c7" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "97d9f1d3ad205dece6bcafd1d71cf1507608f3c7" },
"mason-nvim-dap.nvim": { "branch": "main", "commit": "8b9363d83b5d779813cdd2819b8308651cec2a09" }, "mason-nvim-dap.nvim": { "branch": "main", "commit": "8b9363d83b5d779813cdd2819b8308651cec2a09" },
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
"material.nvim": { "branch": "main", "commit": "c8ff153d2c2b22f8b2c9bcce0d741ab55c00cfed" },
"mini.ai": { "branch": "main", "commit": "ebb04799794a7f94628153991e6334c3304961b8" }, "mini.ai": { "branch": "main", "commit": "ebb04799794a7f94628153991e6334c3304961b8" },
"mini.files": { "branch": "main", "commit": "4d2359158a171564d0a46d4a48da8b4491649f6a" }, "mini.files": { "branch": "main", "commit": "4d2359158a171564d0a46d4a48da8b4491649f6a" },
"mini.hipatterns": { "branch": "main", "commit": "f34975103a38b3f608219a1324cdfc58ea660b8b" }, "mini.hipatterns": { "branch": "main", "commit": "f34975103a38b3f608219a1324cdfc58ea660b8b" },

View File

@@ -9,17 +9,20 @@ return {
"LazyVim/LazyVim", "LazyVim/LazyVim",
-- lazy = false, -- lazy = false,
opts = { opts = {
-- colorscheme = "tokyonight-storm", -- colorscheme = "dracula-dark",
colorscheme = "tokyonight-storm",
-- colorscheme = "tokyonight-night", -- colorscheme = "tokyonight-night",
-- colorscheme = "tokyonight-moon", -- colorscheme = "tokyonight-moon",
-- colorscheme = "tokyonight-day", -- colorscheme = "tokyonight-day",
colorscheme = "catppuccin", -- colorscheme = "catppuccin",
-- colorscheme = "catppuccin-macchiato", -- colorscheme = "catppuccin-macchiato",
-- colorscheme = "catppuccin-mocha", -- colorscheme = "catppuccin-mocha",
-- colorscheme = "catppuccin-frappe", -- colorscheme = "catppuccin-frappe",
-- colorscheme = "catppuccin-latte", -- colorscheme = "catppuccin-latte",
-- colorscheme = "material",
}, },
}, },
{ {
"catppuccin/nvim", "catppuccin/nvim",
-- lazy = false, -- lazy = false,
@@ -42,4 +45,20 @@ return {
}, },
}, },
}, },
{
"marko-cerovac/material.nvim",
priority = 1000,
opts = {
contrast = {
terminal = false,
sidebars = false,
floating_windows = false,
cursor_line = false,
},
style = "deep ocean", -- Verfügbare Stile: "darker", "lighter", "oceanic", "palenight", "deep ocean"
transparent = true, -- Macht den Hintergrund transparent
lualine_style = "default", -- oder "stealth" für einen minimalistischeren Look
},
},
} }

View File

@@ -24,6 +24,7 @@ return {
"make", "make",
"markdown", "markdown",
"markdown_inline", "markdown_inline",
"php",
"proto", "proto",
"python", "python",
"query", "query",
@@ -45,6 +46,31 @@ return {
autotag = { autotag = {
enable = true, enable = true,
}, },
-- Hier kommt die neue Konfiguration
indent = { enable = true },
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
-- Operator-Hervorhebung
playground = {
enable = true,
disable = {},
updatetime = 25,
persist_queries = false,
keybindings = {
toggle_query_editor = "o",
toggle_hl_groups = "i",
toggle_injected_languages = "t",
toggle_anonymous_nodes = "a",
toggle_language_display = "I",
focus_language = "f",
unfocus_language = "F",
update = "R",
goto_node = "<cr>",
show_help = "?",
},
},
}, },
}, },

View File

@@ -1,25 +1,21 @@
return { return {
-- Modify which-key keys
{ {
"folke/which-key.nvim", "folke/which-key.nvim",
opts = function() event = "VeryLazy",
require("which-key").register({ opts = {
["<leader>t"] = { defaults = {
name = "+test", mappings = {
{ "<leader>t", { name = "+test" } },
{ "<leader>gb", { name = "+blame" } },
{ "<leader>gd", { name = "+diffview" } },
{ "<leader>h", { name = "+harpoon" } },
{ "<leader>r", { name = "+run" } },
}, },
["<leader>gb"] = {
name = "+blame",
}, },
["<leader>gd"] = {
name = "+diffview",
}, },
["<leader>h"] = { config = function(_, opts)
name = "+harpoon", local wk = require("which-key")
}, wk.setup(opts)
["<leader>r"] = {
name = "+run",
},
})
end, end,
}, },
} }