summaryrefslogtreecommitdiff
path: root/.exrc
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-09-15 13:27:28 +0200
committerTor Andersson <tor@ccxvii.net>2024-09-15 13:27:28 +0200
commit31c55e54b023ead4d3f9a2f9c53a12b25cda8ced (patch)
treea3a87ddbc7ce2e54dee84ee265f8ded085f96ba9 /.exrc
parent434e2ee422eee7555836fab5480f0d71c15d83c1 (diff)
downloadwilderness-war-31c55e54b023ead4d3f9a2f9c53a12b25cda8ced.tar.gz
remove stale TODO and add .exrc for folding
Diffstat (limited to '.exrc')
-rw-r--r--.exrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.exrc b/.exrc
new file mode 100644
index 0000000..420e63b
--- /dev/null
+++ b/.exrc
@@ -0,0 +1,3 @@
+set foldmethod=expr
+set foldexpr=getline(v:lnum)=~'^/\\*\ .*\\*/$'?'>1':'='
+set foldexpr=getline(v:lnum)=~'^//\ [A-Z][A-Z]'?'>1':'='