From 0a468bfb7ddc0bea358c5b0426392ccc115ea96e Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 20 Nov 2023 23:50:04 +0100 Subject: nvim: Detect *.h files as C, not C++ --- .config/nvim/after/ftdetect/c.vim | 1 + 1 file changed, 1 insertion(+) create mode 100644 .config/nvim/after/ftdetect/c.vim (limited to '.config/nvim/after/ftdetect') diff --git a/.config/nvim/after/ftdetect/c.vim b/.config/nvim/after/ftdetect/c.vim new file mode 100644 index 0000000..609b487 --- /dev/null +++ b/.config/nvim/after/ftdetect/c.vim @@ -0,0 +1 @@ +au BufRead,BufNewFile *.[ch] set ft=c -- cgit v1.2.3