EvgeniyPeshkov / syntax-highlighter

Syntax Highlighter extension for Visual Studio Code (VSCode). Based on Tree-sitter.
https://marketplace.visualstudio.com/items?itemName=evgeniypeshkov.syntax-highlighter
MIT License
208 stars 44 forks source link

Is there a way to evaluate .h files as .hpp files? #68

Open byBretema opened 2 years ago

byBretema commented 2 years ago

Hi!

I'm used to call header files with .h instead of .hpp is there a way to overwrite this behaviour?

I mean it seems like on .h files the semantic-syntax is not applied:

.h:

image

.hpp:

image

Nothing else change but the extension.

Let me know whatever extra data you could need.

And huge thanks in advance!