From bac7b5319309a32823da6904183411912bdfaa50 Mon Sep 17 00:00:00 2001
From: katherine <ageha@airen-no-jikken.icu>
Date: Tue, 3 Dec 2019 17:46:03 -0700
Subject: detect .h and .re (re2c) as c files

---
 .vim/ftdetect/c.vim | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 .vim/ftdetect/c.vim

(limited to '.vim/ftdetect')

diff --git a/.vim/ftdetect/c.vim b/.vim/ftdetect/c.vim
new file mode 100644
index 0000000..fbad066
--- /dev/null
+++ b/.vim/ftdetect/c.vim
@@ -0,0 +1,4 @@
+"use c rather than cpp for headers
+au! BufRead,BufNewFile *.h set filetype=c
+"re2c is c
+au! BufRead,BufNewFile *.re set filetype=c
-- 
cgit v1.2.3