I’m using Sublime Text 3. It was working fine until today.
I tried to change the Haskell syntax highlighting rules. To this end, I unzipped the Haskell.sublime-package file, modified the Haskell.tmLanguage file inside it, rezipped it, and then restarted Sublime Text 3.
Since then, I’ve been getting this error message every time I run it:
and of course Haskell code is no longer syntax highlighted.
I have changed the file back to its exact original state. I have even reinstalled Sublime Text 3 anew. I have also re-unzipped the file to check that it’s still the original version that it has always been and it is.
Why do I keep getting this error even though the file is the same file that has previously always been working?
(I installed Sublime Text 3 into the folder D:\Sublime and the file I am referring to is D:\Sublime\Packages\Haskell.sublime-package.)