Skip to content

Treesitter highlights broken due to query: invalid node type #393

Closed
@hhcwyx

Description

@hhcwyx

Neovim version

NVIM0.8.2

Operating system/version

archlinux

Terminal name/version

alacritty

$TERM environment variable

No response

Branch info

main (Default/Latest)

Fetch Preferences

SSH (use_ssh = true)

How to reproduce the issue

编写python文件时,总是出现一些信息,比如:
print('hello world') treesitter/highlighter:Error executing lua:/usr/share/nvim/runtime/lua/vim/treesitter/query.lua:219 :querry: invalid node type at position 6469 for language python

Expected behavior

怎么把这些信息屏蔽掉呢?

Actual behavior

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingeducationalIssues that contain useful contentenvIssues caused by incorrect environment settings (terminal, package manager, etc.)treesitterTreesitter related issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions