Edit by @rsese to add issue template details
Prerequisites
Description
Bracket matching in HTML doesn't work with tree-sitter enabled.
Steps to Reproduce
- Enable tree-sitter
Settings > Core > Use Tree Sitter Parsers
- 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>
- 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..