for example .xlp
is my file type and name is code.xlp
I want to highlight some code.
or some colors ?
Somethings like this Inno Setup For VS code
In case you don't want to write custom extension, try manual configuration of 'file association' for '.xlp' files. This will tell VS Code to highlight content of '.xlp' files as language of your choice.
For example, I set it to C# and it looks like this:
Steps for this configuration:
ctrl + P
to open navigation field,>Change Language Mode
,