I have a custom config file format and I would like Emacs to recognize and highlight the syntax. Is this possible. If yes, how do we do it?
Thanks for your answers.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is a link I used a whileback to create my own c# mode (before a more complete one was created):
Goes through step by step what to do.
Out of curiosity, which file format are you going to write?
As you might know, modes can be quite powerful, for example nxml mode actually validates XML schemas for you.