]> git.madduck.net Git - etc/lazyvim.git/blobdiff - .config/lazyvim/after/ftplugin/mail.lua

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

disable linenumbering and side gutter for emails
[etc/lazyvim.git] / .config / lazyvim / after / ftplugin / mail.lua
index 9cf3d44c1d86266f9a579582730eaad5089510f8..8118cef9dbf6a32eab0f1212e4da9a847ddc1a6f 100644 (file)
@@ -26,6 +26,12 @@ vim.opt_local.formatoptions:remove("l") -- would not break lines that were long
 vim.opt_local.commentstring = "> %s" -- commenting means quoting in mails
 -- }}}
 
+-- {{{ options
+vim.opt.number = false
+vim.opt.relativenumber = false
+vim.opt.signcolumn = "no"
+-- }}}
+
 -- {{{ autocmds
 vim.api.nvim_create_autocmd({ "BufWrite" }, {
   buffer = 0,