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() end, }, { "nvim-tree/nvim-tree.lua", dependencies = { "nvim-tree/nvim-web-devicons", }, cmd = { "NvimTreeToggle", "NvimTreeOpen" }, keys = { { "e", "NvimTreeToggle", desc = "Explorer toggle" }, }, config = function() require("nvim-tree").setup({ update_focused_file = { enable = true, update_root = false, ignore_list = {}, }, view = { width = 30, }, renderer = { highlight_git = true, icons = { show = { file = true, folder = true, git = true, }, }, }, filters = { dotfiles = false, }, }) end, }, { "RRethy/vim-illuminate", event = "BufReadPost", }, { "mattn/calendar-vim", config = function() function _G.CalendarInsertDate(day, month, year) local date = string.format("%04d-%02d-%02d", year, month, day) vim.cmd("wincmd q") vim.cmd("wincmd p") local line = vim.api.nvim_get_current_line() local col = vim.api.nvim_win_get_cursor(0)[2] + 1 local start = 1 while true do local s, e = string.find(line, "%d%d%d%d%-%d%d%-%d%d", start) if not s then break end if col >= s and col <= e then local new = line:sub(1, s - 1) .. date .. line:sub(e + 1) vim.api.nvim_set_current_line(new) vim.api.nvim_win_set_cursor(0, { vim.fn.line("."), s + #date - 1 }) return end start = e + 1 end vim.api.nvim_put({ date }, "c", true, true) end 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 end, }, }