You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible for bat to read from the hidden_file_extensions property of .sublime-syntax files in addition to the file_extension property? For some projects, file types are have a different extension than usual, such as XML in C# and VB.NET projects (.csproj and .vbproj are written in XML syntax). These less common extensions seem to be already listed in some .sublime-syntax files, but are not currently being read by bat (example).
Expected behavior: Syntax highlighting of files such as .csproj
Current behavior: No syntax highlighting
The text was updated successfully, but these errors were encountered:
Support for hidden_file_extensions was added to syntect 5.0.0 (trishume/syntect#419) so this should be pretty straightforward to do. Tentatively setting as good-first-issue.
Hmm, after thinking some more about it, I actually expected it to already work. But the syntect implementation looks incomplete. bat relies on the following code, but I think it should be changed to also take hidden_file_extensions into account:
Would it be possible for bat to read from the
hidden_file_extensions
property of.sublime-syntax
files in addition to thefile_extension
property? For some projects, file types are have a different extension than usual, such as XML in C# and VB.NET projects (.csproj
and.vbproj
are written in XML syntax). These less common extensions seem to be already listed in some.sublime-syntax
files, but are not currently being read by bat (example).Expected behavior: Syntax highlighting of files such as
.csproj
Current behavior: No syntax highlighting
The text was updated successfully, but these errors were encountered: