Error when opening a .gitignore file in Windows

When I open a .gitignore file, Neovim throws error messages

Error detected while processing BufNewFile Autocommands for "*":
Error executing lua callback: C:\tools\neovim\nvim-win64\share\nvim\runtime\filetype.lua:22: Error executing lua: C:\tools\neovim\nvim-win64\share\nvim\runtime\filetype.lua:23: Vim(append):tree-sitter CLI not found: `tree-sitter` is not executable!
stack traceback:
        [C]: in function 'nvim_cmd'
        C:\tools\neovim\nvim-win64\share\nvim\runtime\filetype.lua:23: in function <C:\tools\neovim\nvim-win64\share\nvim\runtime\filetype.lua:22>
        [C]: in function 'nvim_buf_call'
        C:\tools\neovim\nvim-win64\share\nvim\runtime\filetype.lua:22: in function <C:\tools\neovim\nvim-win64\share\nvim\runtime\filetype.lua:11>
stack traceback:
        [C]: in function 'nvim_buf_call'
        C:\tools\neovim\nvim-win64\share\nvim\runtime\filetype.lua:22: in function <C:\tools\neovim\nvim-win64\share\nvim\runtime\filetype.lua:11>

If I nvim -u NORC .gitignore I get the same result.

How do I fix this?

Neovim is NVIM v0.8.2 installed from chocolatey, on Windows 11 22621.1105