mblode / vscode-twig-language

VS Code extension with snippets, syntax highlighting, hover, and formatting for Twig.
https://marketplace.visualstudio.com/items?itemName=mblode.twig-language
MIT License
42 stars 7 forks source link

highlight should not affect native and custom element #26

Open 1aron opened 5 years ago

1aron commented 5 years ago

Before installing

螢幕快照 2019-04-13 上午1 19 11

After installing

螢幕快照 2019-04-13 上午1 20 15

You could see your extension result the following problems:

  1. ( tag ) pink -load into green
  2. ( attr ) yellow =true & =brand into green
  3. ( attr ) =64, pink = into white and yellow 64 into white

The following code give you to test:

<div class="app-load">
    <img src="assets/images/logo.png" width=64 class="mb-lg">
    <m-load path=true theme=brand class="w-lg" linear>
        <i></i>
    </m-load>
</div>