dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 46023ee6d062cdcd65fdb8c0d348f44d4e5395d8
parent 10e0774a57cd0bee75a12d5debb29dfc503ab184
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Sun,  1 Mar 2020 22:44:11 +0100

Add 80 char marker to markdown

Diffstat:
Mvim/ftplugin/markdown.vim | 6+++++-
Mvim/ftplugin/vimwiki.vim | 7+++++--
2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/vim/ftplugin/markdown.vim b/vim/ftplugin/markdown.vim @@ -1,2 +1,6 @@ -setlocal wrap setlocal spell spelllang=de,en +setlocal wrap +let &colorcolumn=join(range(81,999),",") +let &colorcolumn="80,".join(range(400,999),",") +highlight OverLength ctermbg=red ctermfg=white guibg=#592929 +match OverLength /\%81v.\+/ diff --git a/vim/ftplugin/vimwiki.vim b/vim/ftplugin/vimwiki.vim @@ -1,3 +1,6 @@ -setlocal wrap setlocal spell spelllang=de,en -setlocal tw=72 +setlocal wrap +let &colorcolumn=join(range(81,999),",") +let &colorcolumn="80,".join(range(400,999),",") +highlight OverLength ctermbg=red ctermfg=white guibg=#592929 +match OverLength /\%81v.\+/