Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Highlighting 'NOTE' with no indentation in <script> of html #51

@liuderchi

Description

@liuderchi

highlight of // NOTE is not working when no indentation in html file

env: Ubuntu, Atom v1.10.2, atom UI: Atom Dark, atom Theme: Atom Dark

Demo:
note_highlight

sample.html

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
    <script type="text/javascript">
    var foo = 'bar';
// NOTE
  // NOTE
    // NOTE
      // NOTE
        // NOTE
    </script>
  </head>
</html>

<script type="text/javascript">
var foo = 'bar';
// NOTE
  // NOTE
    // NOTE
</script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions