"Empty language names are not allowed"
Closed this issue · 5 comments
Hello,
Using ST3 (build 3083) w/ ANSIescape installed via Package Manager. When trying to use it as part of a build command I see the following error via popup and in console, and no ANSI coloring on the build output:
error: Error loading syntax file "Packages/User/ANSIescape/ANSI.tmTheme": Empty language names are not allowed
I'm on Sublime 3 build 3103 now and I just updated to the latest ANSIescape (v0.1.3).
It seems to work fine now viewing a file with escape codes after choosing "ANSI" for the file type.
I can also see colored output for my Node.js build script that uses the "node" command.
However for some reason my other Node.js build script using "nodemon" still shows the escaped characters rather then colors. Perhaps that's because nodemon doesn't actually exit, it just sits waiting for further file changes. Perhaps?
Thanks...
@Codelica Try to change ANSI_process_trigger to "on_data" in ansi.sublime-settings
. This should solve the escaped characters during running deamon execution.
@Codelica I have just released version 0.1.4 which adds the ANSIescape settings to the Sublime Text main menu. As jakkubu suggested, add the following to the user settings:
Preferences -> Package Settings -> ANSIescape -> Settings - User
{
"ANSI_process_trigger": "on_data"
}
Yep... working w/ Nodemon now. 👍