diff options
author | sefidel <contact@sefidel.net> | 2023-02-04 02:03:23 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-02-04 02:03:23 +0900 |
commit | 1443dc83db25873e6c6259383ef725a09fcd2017 (patch) | |
tree | 13a74328b7f158f18c41d1da95b78aca8f250b86 /fnl/nvrc | |
parent | 730aee578ed638fbec4da0c330927069c8eac44b (diff) | |
download | nvimrc-1443dc83db25873e6c6259383ef725a09fcd2017.tar.gz nvimrc-1443dc83db25873e6c6259383ef725a09fcd2017.zip |
feat(events): wrap lines on markdown and mail files
Diffstat (limited to 'fnl/nvrc')
-rw-r--r-- | fnl/nvrc/events.fnl | 6 |
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))) |