aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-04 01:12:38 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-04 01:12:38 +0200
commit88c3d2a1c8ce5d2076d8088f424ef2ce96e1cf6a (patch)
treefdca06d6d18df2b4e1b212f933548772ecbb2bc9
parent426419a9c257be96bd9b3e519bd0591bbf2b4d9c (diff)
Update the exrc
-rw-r--r--.exrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/.exrc b/.exrc
index 739e666..9750dd2 100644
--- a/.exrc
+++ b/.exrc
@@ -1,2 +1,5 @@
set makeprg=./make
-autocmd BufRead BUGS,README setlocal et tw=73
+autocmd BufNewFile,BufRead *
+ \ if expand("%") =~ "[A-Z]\\+"
+ \ | setlocal expandtab textwidth=73
+ \ | endif