LazyVim / starter

Starter template for LazyVim
Apache License 2.0
944 stars 750 forks source link

Parsers not found #63

Closed crimsonshade closed 6 months ago

crimsonshade commented 6 months ago

Please help me. After running :checkhealth I found out, that not a single treesitter parser got installed right.

Just getting this error message all the time for every single language.:

python(highlights) is concatenated from the following files:
  | [ERROR]:"C:\Users\user\AppData\Local\nvim-data\lazy\nvim-treesitter\queries\python\highlights.scm", failed to load: Failed to load parser for language 'python': uv_dlopen: C:\Users\user\AppData\Local\nvim-data\lazy\nvim-treesitter\parser\python.so is not a valid Win32 application.
- ERROR python(locals): Failed to load parser for language 'python': uv_dlopen: C:\Users\user\AppData\Local\nvim-data\lazy\nvim-treesitter\parser\python.so is not a valid Win32 application.

Here is my nvim --version

NVIM v0.9.5
Build type: RelWithDebInfo
LuaJIT 2.1.1703942320
Compilation: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe /MD /Zi /O2 /Ob1  -W3 -wd4311 -wd4146 -DUNIT_TESTING -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_WIN32_WINNT=0x0602 -DMSWIN -DINCLUDE_GENERATED_DECLARATIONS -ID:/a/neovim/neovim/.deps/usr/include/luajit-2.1 -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/build/src/nvim/auto -ID:/a/neovim/neovim/build/include -ID:/a/neovim/neovim/build/cmake.config -ID:/a/neovim/neovim/src -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include

   system vimrc file: "$VIM\sysinit.vim"
  fall-back for $VIM: "C:/Program Files (x86)/nvim/share/nvim"

Run :checkhealth for more info

Did not found something useful on a quick google search...

briandipalma commented 6 months ago

Have you tried the suggestions here: https://github.com/nvim-treesitter/nvim-treesitter/wiki/Windows-support

crimsonshade commented 6 months ago

Thanks. This article helped. I installed mingw manually, not by using choco, and installed the compiliers manually using the mingw interface.

But thanks for the article!