Is there a way to enable Objective-C mode and C ++ mode at the same time in Emacs?

I work with some Objective-C ++ code ( .mmfiles) and I am curious if emacs can use the correct syntax highlighting for Objective-C parts and C ++ parts. objc-modeand c++-mode- both main modes (built on top cc-mode), therefore they cannot be used simultaneously.

Are there any minor modes or elisp hacks that allow you to highlight Objective-C and C ++ syntax at the same time?

+3
source share
2 answers

, cc-mode, , objc-mode ++-mode .

- objc-, , , ++:

http://www.foldr.org/~michaelw/objective-c/

( obj-c-mode.el)

0

Source: https://habr.com/ru/post/1708039/


All Articles