mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 18:36:30 +00:00
vim-patch:8.1.1593: filetype not detected for C++ header files without extension
Problem: Filetype not detected for C++ header files without extension.
Solution: Recognize the file by the Emacs file mode. (Dmitry Ilyin,
closes vim/vim#4593)
6a7af8e2db
This commit is contained in:
@@ -581,6 +581,8 @@ let s:script_checks = {
|
||||
\ 'cfengine': [['#!/path/cfengine']],
|
||||
\ 'erlang': [['#!/path/escript']],
|
||||
\ 'haskell': [['#!/path/haskell']],
|
||||
\ 'cpp': [['// Standard iostream objects -*- C++ -*-'],
|
||||
\ ['// -*- C++ -*-']],
|
||||
\ }
|
||||
|
||||
func Test_script_detection()
|
||||
|
Reference in New Issue
Block a user