commit de15c7fec90a709fef29f2fb40a655ba3337da89
parent c78d2483597d6cde769f894a57ace744b10f6372
Author: Chris Bracken <chris@bracken.jp>
Date: Tue, 14 May 2024 23:44:12 -0700
vim: don't specify column width for .wiki files
Mostly because I never edit them. Even when I was using vimwiki, I used
it with markdown instead.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
@@ -97,8 +97,8 @@ if &t_Co > 2
" Highlight over-length lines.
au BufEnter,InsertLeave * set colorcolumn=80
- au BufEnter,InsertLeave *.txt,*.md,*.wiki set colorcolumn=80
- au BufEnter,InsertLeave *.txt,*.md,*.wiki set textwidth=80
+ au BufEnter,InsertLeave *.txt,*.md set colorcolumn=80
+ au BufEnter,InsertLeave *.txt,*.md set textwidth=80
au BufEnter,InsertLeave *.java,*.m,*.mm set colorcolumn=100
au BufEnter,InsertLeave *.java,*.m,*.mm set textwidth=100
endif