Closed Zlatov closed 5 years ago
Without an exact reproducer (plugin configurations and what's the problematic input?), I do not think there is something that I can do to help you. b97ea0ea077181c7b8cb9db6d8a2775b2541ea6c is not helpful here.
If you install this package manually rather than by Package Control, Package Control should not upgrade this package if I remember correctly. Package Control needs package-metadata.json
to track package version and package-metadata.json
is not existing if you install a plugin manually.
Does this work for you? https://github.com/aziz/SublimeANSI/commit/d9c7fc6b1e0dd4431eee1c7fec2aadde754c7346
I just installed ANSIEscape, I also get no colours:
Let me know how I can provide more info...
@NicoLugil ANSIEscape is not auto working. You have to set the syntax to ANSI
for it in case you want to convert the file content.
Yes it is set:
Upload the original text here so people can reproduce it.
This is the text:
[^[[34m2019-10-03T14:08:38^[[0m] DEBUG ^[[36mCSettings^[[0m: ^[[35mReading settings file ^[[0m
[^[[34m2019-10-03T14:08:38^[[0m] DEBUG ^[[36mCSettings^[[0m: ^[[35m------------------------ matching ---------------------^[[0m
[^[[34m2019-10-03T14:08:38^[[0m] DEBUG ^[[36mCSettings^[[0m: ^[[35mpattern is >playground<^[[0m
renders as follows on my terminal:
Can I see from within sublime which version of ANSIescape I am using?
Yes. Ctrl+Shift+P
-> type package list
This is the text:
[^[[34m2019-10-03T14:08:38^[[0m] DEBUG ^[[36mCSettings^[[0m: ^[[35mReading settings file ^[[0m [^[[34m2019-10-03T14:08:38^[[0m] DEBUG ^[[36mCSettings^[[0m: ^[[35m------------------------ matching ---------------------^[[0m [^[[34m2019-10-03T14:08:38^[[0m] DEBUG ^[[36mCSettings^[[0m: ^[[35mpattern is >playground<^[[0m
renders as follows on my terminal:
please upload a file. pasting text on github wont be exact the same for some invisible chars.
version:
This file works on my side.
ANSIescape
?After f2bdf3985f90a98aba4e22c7672daa0248f99b8f works fine! But, which is more correct?:
// ~/.config/sublime-text-3/Packages/User/builds/Bash.sublime-build
"syntax": "Packages/ANSIescape/ANSI.tmLanguage",
// or
"syntax": "Packages/ANSIescape/ANSI.sublime-syntax"
After f2bdf39 works fine! But, which is more correct?:
// ~/.config/sublime-text-3/Packages/User/builds/Bash.sublime-build "syntax": "Packages/ANSIescape/ANSI.tmLanguage", // or "syntax": "Packages/ANSIescape/ANSI.sublime-syntax"
The later one. It's a newer syntax format for ST.
Coloring of the text disappeared. Ubuntu-18, ST-3207. Previously worked. After installing manually and switching to commit b97ea0ea077181c7b8cb9db6d8a2775b2541ea6c the problem disappears. Tested on two computers at home and at work. I would like to get rid of manual rollback of the package.