]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(filetype): ft detection maybe wrong if 'fic' set for *.[CH]
authorshane.xb.qian <shane.qian@foxmail.com>
Mon, 11 Dec 2023 16:33:03 +0000 (17:33 +0100)
committerChristian Brabandt <cb@256bit.org>
Mon, 11 Dec 2023 16:34:36 +0000 (17:34 +0100)
commitfa920da283f6651083b40d0aa28a9eacd5116593
tree60399e93c908de23fcae0a34c259d0930b6114e5
parent1ec115c92c16f1557719d9da0a09e88989f511f3
runtime(filetype): ft detection maybe wrong if 'fic' set for *.[CH]

So only set the filetype to cpp for *.C and *.H files, if
'fileignorecase' option is not set.

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/filetype.vim