From 00793fa99d4ec41a0fe5e8c38d8042efb51ef151 Mon Sep 17 00:00:00 2001 From: srdusr Date: Fri, 11 Aug 2023 22:37:38 +0200 Subject: Testing a bunch of rules --- after/ftplugin/markdown.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'after/ftplugin') diff --git a/after/ftplugin/markdown.lua b/after/ftplugin/markdown.lua index ec30702..5bf3f16 100644 --- a/after/ftplugin/markdown.lua +++ b/after/ftplugin/markdown.lua @@ -1,2 +1,11 @@ +vim.wo.spell = true +vim.bo.spelllang = "en" +vim.wo.wrap = true +vim.wo.linebreak = true +vim.wo.breakindent = true +vim.wo.colorcolumn = "0" +vim.wo.conceallevel = 3 vim.opt.softtabstop = 2 -- Tab key indents by 2 spaces. vim.opt.shiftwidth = 2 -- >> indents by 2 spaces. + +vim.b[0].undo_ftplugin = "setlocal nospell nowrap nolinebreak nobreakindent conceallevel=0" -- cgit v1.2.3