Commit cfd8b55
committed
fix(treesitter): highlight of imported names in python
Problem: module names in python import statements are (now) highlighted
with `@module`, and `@module` has the same highlight as
keywords (such as `import`).
Cause: nvim-treesitter update which modifies python's highlight
query.
Solution: don't highlight `@module.python`. In the future, we may want
to make `@module` un-highlighted by default instead, since it
seems that only a few languages need it.
Fixes: #3711 parent 0e4636f commit cfd8b55
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
304 | 305 | | |
305 | 306 | | |
306 | 307 | | |
| |||
0 commit comments