From 7f60e7fcb0586b37886b852eba18b6ed6b041d0c Mon Sep 17 00:00:00 2001 From: Robert Morrison Date: Tue, 11 Apr 2023 22:55:34 +0100 Subject: [PATCH] feat(markdown): Auto set some options for md files Basic options that I want set when I'm editing markdown files are now configured as an ftplugin file. --- ftplugin/markdown.lua | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 ftplugin/markdown.lua diff --git a/ftplugin/markdown.lua b/ftplugin/markdown.lua new file mode 100644 index 0000000..67d39b6 --- /dev/null +++ b/ftplugin/markdown.lua @@ -0,0 +1,2 @@ +vim.o.spell = true +vim.o.textwidth = 75