refactor: small changes

This commit is contained in:
2026-09-05 16:53:39 +02:00
parent 0fffee1c1a
commit 4e03b0e297
6 changed files with 95 additions and 73 deletions
+1 -2
View File
@@ -21,7 +21,7 @@ vim.o.wrap = false -- Don't visually wrap lines
vim.o.winborder = 'rounded' -- Use border in floating windows
vim.o.pumborder = 'rounded' -- Use border in popup menu
vim.o.cmdheight = 0 -- Hide the command line when not in use
vim.cmd('syntax off') -- Disable legacy syntax highlighting
vim.g.syntax_on = 0 -- Disable legacy syntax highlighting
require("vim._core.ui2").enable({ -- Enable new ui (requires nightly)
msg = { targets = "msg" }
})
@@ -36,7 +36,6 @@ vim.o.smartcase = true -- Respect case if search pattern has upper case
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
vim.o.complete = '.,w,b,kspell' -- Use less sources
vim.o.completeopt = 'menuone,noselect,fuzzy,nosort' -- Use custom behavior