diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json index 4a60657..80335be 100644 --- a/.config/nvim/lazy-lock.json +++ b/.config/nvim/lazy-lock.json @@ -25,6 +25,7 @@ "mason-lspconfig.nvim": { "branch": "main", "commit": "97d9f1d3ad205dece6bcafd1d71cf1507608f3c7" }, "mason-nvim-dap.nvim": { "branch": "main", "commit": "8b9363d83b5d779813cdd2819b8308651cec2a09" }, "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, + "material.nvim": { "branch": "main", "commit": "c8ff153d2c2b22f8b2c9bcce0d741ab55c00cfed" }, "mini.ai": { "branch": "main", "commit": "ebb04799794a7f94628153991e6334c3304961b8" }, "mini.files": { "branch": "main", "commit": "4d2359158a171564d0a46d4a48da8b4491649f6a" }, "mini.hipatterns": { "branch": "main", "commit": "f34975103a38b3f608219a1324cdfc58ea660b8b" }, diff --git a/.config/nvim/lua/plugins/colorscheme.lua b/.config/nvim/lua/plugins/colorscheme.lua index 46752d0..9e7604a 100644 --- a/.config/nvim/lua/plugins/colorscheme.lua +++ b/.config/nvim/lua/plugins/colorscheme.lua @@ -9,17 +9,20 @@ return { "LazyVim/LazyVim", -- lazy = false, opts = { - -- colorscheme = "tokyonight-storm", + -- colorscheme = "dracula-dark", + colorscheme = "tokyonight-storm", -- colorscheme = "tokyonight-night", -- colorscheme = "tokyonight-moon", -- colorscheme = "tokyonight-day", - colorscheme = "catppuccin", + -- colorscheme = "catppuccin", -- colorscheme = "catppuccin-macchiato", -- colorscheme = "catppuccin-mocha", -- colorscheme = "catppuccin-frappe", -- colorscheme = "catppuccin-latte", + -- colorscheme = "material", }, }, + { "catppuccin/nvim", -- 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 + }, + }, } diff --git a/.config/nvim/lua/plugins/treesitter.lua b/.config/nvim/lua/plugins/treesitter.lua index d7097d5..47cdd9a 100644 --- a/.config/nvim/lua/plugins/treesitter.lua +++ b/.config/nvim/lua/plugins/treesitter.lua @@ -24,6 +24,7 @@ return { "make", "markdown", "markdown_inline", + "php", "proto", "python", "query", @@ -45,6 +46,31 @@ return { autotag = { 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 = "", + show_help = "?", + }, + }, }, }, diff --git a/.config/nvim/lua/plugins/which-key.lua b/.config/nvim/lua/plugins/which-key.lua index 476318d..713f000 100644 --- a/.config/nvim/lua/plugins/which-key.lua +++ b/.config/nvim/lua/plugins/which-key.lua @@ -1,25 +1,21 @@ return { - -- Modify which-key keys { "folke/which-key.nvim", - opts = function() - require("which-key").register({ - ["t"] = { - name = "+test", + event = "VeryLazy", + opts = { + defaults = { + mappings = { + { "t", { name = "+test" } }, + { "gb", { name = "+blame" } }, + { "gd", { name = "+diffview" } }, + { "h", { name = "+harpoon" } }, + { "r", { name = "+run" } }, }, - ["gb"] = { - name = "+blame", - }, - ["gd"] = { - name = "+diffview", - }, - ["h"] = { - name = "+harpoon", - }, - ["r"] = { - name = "+run", - }, - }) + }, + }, + config = function(_, opts) + local wk = require("which-key") + wk.setup(opts) end, }, }