From 4c74eacb7e9f7b45cacbd72cf4c7dbf39edf9884 Mon Sep 17 00:00:00 2001 From: DuckDuckWhale Date: Thu, 6 May 2021 17:24:13 -0700 Subject: [PATCH] Vim: use 100 character lines for code --- vim/.vimrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index ec70838..8a83bc7 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -8,9 +8,8 @@ filetype plugin indent on syntax on autocmd CmdwinEnter * noremap -autocmd FileType c,java set colorcolumn=81 textwidth=80 +autocmd FileType rust,c,java set noexpandtab colorcolumn=101 textwidth=100 autocmd FileType markdown set ai spell colorcolumn=81 textwidth=80 -autocmd FileType rust set noexpandtab set encoding=utf-8 set termencoding=utf-8