Hi,
Thanks a lot for all your answers.
However, I wonder whether changing the highlighting for the C code (even if it would be much appreciated)
would allow me to apply plugins for C code (like AstyleFormatter for instance) in a latex file.
Is that true? In this case, I can wait for the merge of the latex syntax or try to write a .sublime-syntax format as suggested by @gwenzek .
Otherwise, is there some tricks to manually specify that some parts of a file must be considered with other such as:
latex code %! begin of language C C code %! end of language C latex code
Mathieu
@315234 : the problem is that, without changing the syntax of the file (in the command palette, set syntax C), the plugin AstyleFormatter is not even available. Hence, each time I need to format a small example of C code, I need to change the syntax of the file to C, then apply the plugin and change back the syntax to latex.