nvim-neorg/tree-sitter-norg

norg Parser Failed to Load

igotQweston opened this issue · 1 comments

nvim-treesitter: require("nvim-treesitter.health").check()

Installation ~
- WARNING `tree-sitter` executable not found (parser generator, only needed for :TSInstallFromGrammar, not required for :TSInstall)
- OK `node` found v19.2.0 (only needed for :TSInstallFromGrammar)
- OK `git` executable found.
- OK `cc` executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
  Version: cc (Rev7, Built by MSYS2 project) 13.1.0
- OK Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.

OS Info:
{
  machine = "x86_64",
  release = "10.0.19045",
  sysname = "Windows_NT",
  version = "Windows 10 Home Single Language"
} ~

Parser/Features         H L F I J
  - norg                x . x . x
  - norg_meta           ✓ . . ✓ .

  Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections
         +) multiple parsers found, only one will be used
         x) errors found in the query, try to run :TSUpdate {lang} ~

The following errors have been detected: ~
- ERROR norg(highlights): Failed to load parser for language 'norg': uv_dlopen: The specified procedure could not be found.
  
  norg(highlights) is concatenated from the following files:
  | [ERROR]:"C:\Users\Fawkes\AppData\Local\nvim-data\lazy\neorg\queries\norg\highlights.scm", failed to load: Failed to load parser for language 'norg': uv_dlopen: The specified procedure could not be found.
- ERROR norg(folds): Failed to load parser for language 'norg': uv_dlopen: The specified procedure could not be found.
  
  norg(folds) is concatenated from the following files:
  | [ERROR]:"C:\Users\Fawkes\AppData\Local\nvim-data\lazy\neorg\queries\norg\folds.scm", failed to load: Failed to load parser for language 'norg': uv_dlopen: The specified procedure could not be found.
- ERROR norg(injections): Failed to load parser for language 'norg': uv_dlopen: The specified procedure could not be found.
  
  norg(injections) is concatenated from the following files:
  | [ERROR]:"C:\Users\Fawkes\AppData\Local\nvim-data\lazy\neorg\queries\norg\injections.scm", failed to load: Failed to load parser for language 'norg': uv_dlopen: The specified procedure could not be found.
C:\Windows\system32>nvim -version
NVIM v0.9.2
Build type: RelWithDebInfo
LuaJIT 2.1.1694082368
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

      システム vimrc: "$VIM\sysinit.vim"
       省略時の $VIM: "C:/Program Files (x86)/nvim/share/nvim"

Looks like a windows specific problem.

Fixed it by installing LLVM and using clang as the compiler for nvim-treesitter