From b84b028a7ee2f649878d306d2a946692d25d04d0 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Tue, 5 Mar 2024 00:07:58 +0000 Subject: [PATCH] Learned how to append to a vim.opt --- lua/settings.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/settings.lua b/lua/settings.lua index 5b6bd97..486b582 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -78,7 +78,7 @@ vim.opt.mouse = 'a' vim.opt.signcolumn = 'yes' -- When in diff mode, use the patience algorithm for more readable diffs --- FIXME: vim.opt.diffopt = vim.opt.diffopt .. ',algorithm:patience' +vim.opt.diffopt:append('algorithm:patience') -- Insert spaces when is pressed in insert mode vim.opt.expandtab = true