From 367e2f17233b1c19238fd77fde33c379eb0814be Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Thu, 23 Apr 2026 11:04:19 +0200 Subject: Neovim: Umbrucheinstellungen geändert und Unterstützung für Markdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvim/lua/config/options.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'nvim/lua/config/options.lua') diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua index 37adc84..848966b 100644 --- a/nvim/lua/config/options.lua +++ b/nvim/lua/config/options.lua @@ -5,7 +5,6 @@ local g = vim.g opt.number = true opt.cursorline = true opt.shortmess:append("I") -opt.wrap = false opt.wildmenu = true opt.splitright = true opt.splitbelow = true @@ -13,6 +12,11 @@ opt.signcolumn = "yes" opt.termguicolors = true opt.showcmd = false +-- Texte umbrechen +opt.wrap = false +opt.linebreak = true +opt.breakindent = true + -- Rechtschreibprüfung opt.spelllang = { "de", "en" } opt.spell = false @@ -35,6 +39,9 @@ opt.listchars = { precedes = "<", nbsp = "+" } +opt.showbreak = "↪ " + +-- Erlaube % für Winkelklammern opt.matchpairs:append("<:>") -- automatisches Einlesen geänderter Dateien -- cgit v1.3