update for nvim 0.12

This commit is contained in:
Robin Jenni
2026-05-20 17:12:41 +02:00
parent 826aba247f
commit f305363f25
3 changed files with 15 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
vim.api.nvim_create_autocmd("FileType", {
pattern = { "markdown" },
callback = function()
vim.opt_local.wrap = true
vim.opt_local.linebreak = true
vim.opt_local.textwidth = 0
vim.opt_local.wrapmargin = 0
end,
})