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.

Tag matching doesn't work in HTML with tree-sitter enabled #355

@oueryemchi

Description

@oueryemchi

Edit by @rsese to add issue template details

Prerequisites

Description

Bracket matching in HTML doesn't work with tree-sitter enabled.

Steps to Reproduce

  1. Enable tree-sitter Settings > Core > Use Tree Sitter Parsers
  2. Create and save a file test.html with the html snippet content:
<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>

  </body>
</html>
  1. Click in the <body> tag.

Expected behavior: [What you expect to happen]

Expect the <\body> tag to be highlighted.

Actual behavior: [What actually happens]

The <\body> tag isn't highlighted.

Reproduces how often: [What percentage of the time does it reproduce?]

100%

Versions

$ atom-nightly  -v
Atom    : 1.31.0-nightly3
Electron: 2.0.6
Chrome  : 61.0.3163.100
Node    : 8.9.3

macOS 10.12.6

Additional Information

If you disable tree-sitter, the tag matching works.


always worked in all files. after updating Atom and packages 2 days ago (done on 2d of August 2018), Matcher stopped working in plain HTML files.

I disabled all packages and left on the core ones, still not working..

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions