Sublime Forum

Broken lua package (Empty language names are not allowed)

#1

Hello, I tried to fix the lua indentation in sublime text 3 using this tutorial. It didn’t work so I tried to manipulate some folders in the “AppData\Roaming\Sublime Text 3\Packages” folder. Basically, I renamed the file “Indent.tmPreferences” to “Lua.tmLanguage” (it was stupid yeah, I just wanted to try something to understand how things work).

Since then, I get this error message when I open a lua file:
“Error loading syntax file “Packages/Lua/Lua.tmLanguage”: Empty language names are not allowed”
And the lua syntax is not loaded (no coloring, auto-indent, etc.)

I tried to remove the file, restart, stuff like that, but nothing worked. So I uninstalled Sublime, deleted the “AppData\Roaming\Sublime Text 3” folder and reinstalled it from scratch.
What a surprise when I saw the same error message!

I’m pretty stuck here, without lua syntax being loaded. Can somebody help me?

Thanks,
Aurélien

0 Likes

#2

Note: I just installed ST2, and it works. So in the meantime, I’ll just go back to this version.

0 Likes