Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 44 by [email protected]: Objective-C++ headers are not recognized as such
http://code.google.com/p/vim/issues/detail?id=44

What steps will reproduce the problem?
1. Edit a .h file that is for Objective-C++ (that is, it has C++ classes and Obj-C classes both).

What is the expected output? What do you see instead?
":set ft?" should show "objcpp", but instead shows "objc".

What version of the product are you using? On what operating system?
Vim 7.3 (MacVim) on Mac OS X 10.7, but this is true on all systems because of runtime/filetype.vim.

Please provide any additional information below.

A patch to fix this by reusing g:c_syntax_for_h is attached.

Attachments:
        runtime-filetype.patch  612 bytes

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui