Does anyone have an .htaccess syntax file?

Discuss syntax highlighting or submit new syntax files.
Post Reply
User avatar
primehalo
Posts: 191
Joined: 16 Jun 2011 03:10
Contact:

Does anyone have an .htaccess syntax file?

Post by primehalo »

Does anyone happen to have an .htaccess syntax file?
User avatar
pjj
Posts: 2108
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: Does anyone have an .htaccess syntax file?

Post by pjj »

I once started writing it, but for some reason highlighting worked randomly (e.g. comments don't work for me at all), so I shelved it. I planned to review it later, but seems like this "later" haven't come yet :D Anyway, here it is:
Apache.zip
(1.15 KiB) Downloaded 772 times
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
primehalo
Posts: 191
Joined: 16 Jun 2011 03:10
Contact:

Re: Does anyone have an .htaccess syntax file?

Post by primehalo »

Thanks a bunch! When I removed these lines, the comment highlighting started working again:

Code: Select all

[Tags]
Tags=FilesMatch|
User avatar
pjj
Posts: 2108
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: Does anyone have an .htaccess syntax file?

Post by pjj »

I'm glad it worked for you; alas, it haven't worked for me :cry: I removed "Tags" altogether and now I have random results: comments are still not highlighted as they should be, some elements lost their colors they had previously, and some other got colored. Oh, joy! :evil: Perhaps I should do another clean install to see if it helps, but the very thought of going through all them options again makes mu cringe.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
Post Reply