Hi,
I'd like to be able to add files called 'MakeFile' to a doc class which highlights make syntax. I can do this by adding '*.' to the class, but then *any* file gets make syntax highlighting. I'd like to leave *. associated with plain text files, and specify just Makefile as for the make class. Is this possible? Putting 'makefile' or 'makefile.' doesn't work.
Ian
Doc class for specific files
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
Andreas
Re: Doc class for specific files
Use
Makefile
and make sure that no other class below (in the list) matches (with *. or whatever).
The list is read from end to start and the first matching pattern decides where the doc goes.
I have set it up like that:
the class is called ZMakefiles and matches Makefile
The Z at the beginning of the class name brings the class to the end of the list....
Makefile
and make sure that no other class below (in the list) matches (with *. or whatever).
The list is read from end to start and the first matching pattern decides where the doc goes.
I have set it up like that:
the class is called ZMakefiles and matches Makefile
The Z at the beginning of the class name brings the class to the end of the list....