fix: small fixes

This commit is contained in:
2026-08-29 15:54:35 +02:00
parent 93ba68bb33
commit c4d76c9025
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -23,7 +23,6 @@ require("vim._core.ui2").enable({ -- Enable new ui (requires nightly)
msg = { targets = "msg" }
})
-- Editing =====================================================================
vim.o.expandtab = true -- Convert tabs to spaces
vim.o.formatoptions = 'rqnl1j' -- Improve comment editing
@@ -34,6 +33,7 @@ vim.o.smartcase = true -- Respect case if search pattern has upper cas
vim.o.spelloptions = 'camel' -- Treat camelCase word parts as separate words
vim.o.tabstop = 2 -- Show tab as this number of spaces
vim.o.virtualedit = 'block' -- Allow going past end of line in blockwise mode
vim.opt.autoread = true -- Do not prompt to reread files on update
-- Pattern for a start of numbered list (used in `gw`).
vim.o.formatlistpat = [[^\s*[0-9\-\+\*]\+[\.\)]*\s\+]]