iuyoy / highlight-string-code

Highlight string as specific language. 在其他代码中高亮 SQL、HTML、CSS或者JS
https://marketplace.visualstudio.com/items?itemName=iuyoy.highlight-string-code
MIT License
17 stars 4 forks source link

Can you add a way to disable this plugin for a specific file or specific line #8

Closed DeflateAwning closed 2 years ago

DeflateAwning commented 3 years ago

I'm getting a false positive in Python by defining a command line argument as '--sql', and I don't want it to highlight this. I need a way to ignore the trigger for that line. Thanks!

iuyoy commented 3 years ago

Hi DeflateAwning, This is another case of #4, you can also follow the solution, edit file syntaxes/highlight-string-code.json, to achieve your purpose.