add neovim treesitter fix
This commit is contained in:
23
computery_stuff/neovim_treesitter_invalid_node_type.md
Executable file
23
computery_stuff/neovim_treesitter_invalid_node_type.md
Executable file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
author: Akbar Rahman
|
||||
date: \today
|
||||
title: treesitter query error at 226 invalid node type "except*"
|
||||
tags: []
|
||||
uuid: 4a39e456-abee-4be7-bd20-1a4e4b9dc412
|
||||
---
|
||||
|
||||
# treesitter query error at 226 invalid node type "except*"
|
||||
|
||||
Occurred only when opening Python files.
|
||||
|
||||
Forgot to save the exact error and I've fixed it now and can't be bothered to recreate it.
|
||||
|
||||
## Solution
|
||||
|
||||
Ran `:TSUpdate python` after seeieng
|
||||
[this comment](https://github.com/nvim-treesitter/nvim-treesitter/issues/3934#issuecomment-1706708533)
|
||||
by @TamaMcGlinn
|
||||
on a GitHub issue for nvim-treesitter:
|
||||
|
||||
> Had this problem after updating from NeoVim 0.8 to 0.10,
|
||||
> fixed by doing `:TSUpdate python` in my case (it happened on python files)
|
||||
Reference in New Issue
Block a user