diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-11-20 23:50:04 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-11-20 23:50:04 +0100 |
commit | 0a468bfb7ddc0bea358c5b0426392ccc115ea96e (patch) | |
tree | 6592e57c0346d5d28f4e17dd0c9210d5d7feca7d /.config | |
parent | 6ec3f9d0cd7e3fdb11c3946db04ef3ba7d6f7dfc (diff) |
nvim: Detect *.h files as C, not C++
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/after/ftdetect/c.vim | 1 |
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 |