From 3b77bc122f2ecdba18aa6696de6b0d173935de81 Mon Sep 17 00:00:00 2001 From: "dexta.de" Date: Thu, 13 Aug 2026 20:57:43 +0200 Subject: [PATCH] update nvim maybe --- .nvim.lua | 41 ----------------------------------------- 1 file changed, 41 deletions(-) diff --git a/.nvim.lua b/.nvim.lua index 09c5d4e..9bb8206 100644 --- a/.nvim.lua +++ b/.nvim.lua @@ -1,44 +1,3 @@ --- 0. Leader-Taste definieren (WICHTIG für deine Keymaps) --- Muss zwingend vor Lazy geladen werden! -vim.g.mapleader = " " -vim.g.maplocalleader = " " - --- 1. lazy.nvim vollautomatisch herunterladen (falls nicht vorhanden) -local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" -if not vim.loop.fs_stat(lazypath) then - vim.fn.system({ - "git", - "clone", - "--filter=blob:none", - "https://github.com/folke/lazy.nvim.git", - "--branch=stable", -- Lade nur die stabile Version - lazypath, - }) -end -vim.opt.rtp:prepend(lazypath) - --- 2. Plugins deklarieren und laden -require("lazy").setup({ - -- AsciiDoc Unterstützung (Syntax, Faltung) - { "habamax/vim-asciidoctor" }, - - -- Telescope (Deine Suchmaschine für die Lore) - { - "nvim-telescope/telescope.nvim", - tag = "0.1.5", - dependencies = { "nvim-lua/plenary.nvim" } - }, - - -- Fugitive (Git Integration) - { - "tpope/vim-fugitive", - cmd = { "Git", "G", "Gdiffsplit", "Gread", "Gwrite", "GBrowse" }, - keys = { - { "gs", "Git", desc = "Git Status" }, - }, - }, -- HIER FEHLTE DIE KLAMMER -}) - -- 3. Eigene Kommandos und Keymaps -- Erstellt ein Neovim-Kommando :BuildLore vim.api.nvim_create_user_command('BuildLore', function()