return { { "Mofiqul/vscode.nvim", priority = 1000, -- wichtig: vor anderen UI-Plugins laden lazy = false, config = function() local vscode = require("vscode") vscode.setup({ style = "dark", transparent = false, italic_comments = true, underline_links = true, disable_nvimtree_bg = true, }) vscode.load() -- eigene Anpassungen an der vscode-Palette local set_hl = vim.api.nvim_set_hl -- Fix: Farbschema für Rechtschreibfehler set_hl(0, "SpellBad", { fg = "#ffffff", bg = "#5f0000" }) set_hl(0, "SpellCap", { fg = "#000000", bg = "#ffaf00" }) set_hl(0, "SpellRare", { fg = "#000000", bg = "#5fd7ff" }) set_hl(0, "SpellLocal", { fg = "#000000", bg = "#5fff87" }) set_hl(0, "CursorLine", { bg = "#252526" }) set_hl(0, "CursorColumn", { bg = "#252526" }) -- Statusline Farben set_hl(0, "StatuslineModeNormal", { fg = "#1e222a", bg = "#61afef", bold = true }) set_hl(0, "StatuslineModeInsert", { fg = "#1e222a", bg = "#98c379", bold = true }) set_hl(0, "StatuslineModeVisual", { fg = "#1e222a", bg = "#c678dd", bold = true }) set_hl(0, "StatuslineModeReplace", { fg = "#1e222a", bg = "#e86671", bold = true }) set_hl(0, "StatuslineModeCommand", { fg = "#1e222a", bg = "#e5c07b", bold = true }) -- NVim-Tree set_hl(0, "NvimTreeOpenedFile", { bold = true }) set_hl(0, "NvimTreeCursorLine", { bg = "#2A2D2E" }) end, }, { "nvim-tree/nvim-tree.lua", dependencies = { "nvim-tree/nvim-web-devicons", }, cmd = { "NvimTreeToggle", "NvimTreeOpen" }, lazy = true, keys = { { "e", "NvimTreeToggle", desc = "Explorer toggle" }, }, opts = { update_focused_file = { enable = true, update_root = false, ignore_list = {}, }, view = { width = 40, cursorline = true, }, renderer = { highlight_opened_files = "all", highlight_git = true, icons = { show = { file = true, folder = true, git = true, }, }, }, filters = { dotfiles = false, }, }, }, { "RRethy/vim-illuminate", event = "BufReadPost", }, { "mattn/calendar-vim", ft = { "taskedit", "markdown" }, config = function() function CalendarInsertDate(day, month, year) local date = string.format("%04d-%02d-%02d", year, month, day) vim.cmd("wincmd q") vim.cmd("wincmd p") local row, col = unpack(vim.api.nvim_win_get_cursor(0)) local line = vim.api.nvim_get_current_line() for s, _, e in line:gmatch("()(%d%d%d%d%-%d%d%-%d%d)()") do if col + 1 >= s and col + 1 <= e - 1 then vim.api.nvim_buf_set_text(0, row - 1, s - 1, row - 1, e - 1, { date }) return end end vim.api.nvim_put({ date }, "c", true, true) end _G.CalendarInsertDate = CalendarInsertDate vim.g.calendar_action = "v:lua.CalendarInsertDate" vim.g.calendar_monday = 1 vim.g.calendar_wruler = "So Mo Di Mi Do Fr Sa" vim.g.calendar_mruler = "Jan,Feb,Mär,Apr,Mai,Jun,Jul,Aug,Sep,Okt,Nov,Dez" vim.g.calendar_weeknm = 4 vim.g.calendar_number_of_months = 5 end, }, }