summaryrefslogtreecommitdiff
path: root/.config/nvim/after
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-20 23:50:04 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-20 23:50:04 +0100
commit0a468bfb7ddc0bea358c5b0426392ccc115ea96e (patch)
tree6592e57c0346d5d28f4e17dd0c9210d5d7feca7d /.config/nvim/after
parent6ec3f9d0cd7e3fdb11c3946db04ef3ba7d6f7dfc (diff)
nvim: Detect *.h files as C, not C++
Diffstat (limited to '.config/nvim/after')
-rw-r--r--.config/nvim/after/ftdetect/c.vim1
1 files changed, 1 insertions, 0 deletions
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