about summary refs log tree commit diff
path: root/fnl/nvrc
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/nvrc')
-rw-r--r--fnl/nvrc/events.fnl6
1 files changed, 6 insertions, 0 deletions
diff --git a/fnl/nvrc/events.fnl b/fnl/nvrc/events.fnl
index 64559dd..d66c604 100644
--- a/fnl/nvrc/events.fnl
+++ b/fnl/nvrc/events.fnl
@@ -42,3 +42,9 @@
           (au! TermOpen * (setl! signcolumn :no))
           ;; Disables colorcolumn on terminal buffers
           (au! TermOpen * (setl! colorcolumn [])))
+
+(ag! markdown-wrap-line
+     (au! FileType markdown (setl! textwidth 80)))
+
+(ag! mail-wrap-line
+     (au! FileType mail (setl! textwidth 80)))