Ticket #3226 (closed enhancement: worksforme)

Opened 11 years ago

Last modified 10 years ago

HHVM Syntax is missing

Reported by: stanislavdavid Owned by:
Priority: major Milestone:
Component: mcedit Version: 4.8.12
Keywords: hhvm, hh, syntax Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Hello, I am editing in mceditor file with hh extension and it is not using any syntax highlighting. For basic function it possible to use PHP syntax highlighting.
I tried to do that but I was not possible to do that.
Thank you for great product

Change History

comment:1 in reply to: ↑ description Changed 11 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to worksforme
  • Milestone Future Releases deleted

Replying to stanislavdavid:

Hello, I am editing in mceditor file with hh extension and it is not using any syntax highlighting. For basic function it possible to use PHP syntax highlighting.

.hh extension is used for C++ header files. It works for me out of box. Look into /usr/share/mc/syntax/Syntax:

     94 file ..\*\\.([hC]|CC|cxx|cc|cpp|CPP|CXX|hxx|hh|hpp|HPP|h\\.in)$ C/C\+\+\sProgram
     95 include cxx.syntax

I tried to do that but I was not possible to do that.

Seems it is your local misconfiguration.

comment:2 Changed 10 years ago by stanislavdavid

Yes and it is the problem... hh is also used for hhvm files which has different syntax.

Note: See TracTickets for help on using tickets.