From 918b8ff932b41d6730419517bc6a0c454cd7d926 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Tue, 9 Jul 2024 14:36:42 +0200 Subject: [PATCH] set formatoptions and spell --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 0279852..45af565 100644 --- a/init.lua +++ b/init.lua @@ -7,7 +7,7 @@ vim.opt.signcolumn = 'yes' vim.opt.clipboard = '' -- don't just use the system clipboard vim.opt.wrap = false vim.opt.breakindent = false -vim.opt.spell = false +vim.opt.spell = true vim.opt.conceallevel = 2 vim.opt.concealcursor = 'c' vim.opt.undofile = true @@ -52,7 +52,7 @@ vim.opt.startofline = false -- Cursor in same column for few commands vim.opt.splitbelow = true -- Splits open bottom right vim.opt.splitright = true vim.opt.breakindentopt = { shift = 2, min = 20 } -vim.opt.formatoptions = '' -- see :h fo-table & :h formatoptions +vim.opt.formatoptions = 'trowacnlm1jp' -- see :h fo-table & :h formatoptions vim.opt.breakindent = true -- Diff