Sublime Forum

JavaScript syntax highlighting problem

#1

Hi all,

I’m using ST2 to edit some JS files and it was working perfectly, I tried to install this jQuery Textmate bundle github.com/kswedberg/jquery-tmbundle which worked fine but it removed all my default JS highlighting and now my js files are rendered as plain text. I removed the bundle but still have the same problem, I don’t even have the JavaScript option now in the context menu in the lower right corner. I also noticed that the JavaScript folder inside Packages is empty, so is there a way to restore it?

Thanks in advance!

0 Likes

#2

Look in the Pristine Packages directory. Copy the Javascript folder from there into Packages.

0 Likes

#3

Thanks worked like a charm

0 Likes