diff --git a/computery_stuff/neovim_treesitter_invalid_node_type.md b/computery_stuff/neovim_treesitter_invalid_node_type.md new file mode 100755 index 0000000..4b99b99 --- /dev/null +++ b/computery_stuff/neovim_treesitter_invalid_node_type.md @@ -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)