Comments (8)
Hi! fyi: I've only started working on this config yesterday, so defintely not ready for real usage.
I didnt have the time yet to test everything on Windows, and there's a bunch of things I still need to do.
Closing this for now. I'll announce it on Reddit once this is ready.
from lazyvim.
I'll look at it later today. Sorry for the delay!
from lazyvim.
Can this be reopened? Found this through Reddit and am running into similar issues.
There are two things going wrong. What OP mentioned seems to be some permission issues, which i'm also getting:
[nvim-treesitter] [0/15] Downloading tree-sitter-bash...
[nvim-treesitter] [0/15] Downloading tree-sitter-help...
[nvim-treesitter] [0/15] Downloading tree-sitter-html...
[nvim-treesitter] [0/15] Downloading tree-sitter-javascript...
[nvim-treesitter] [0/15] Downloading tree-sitter-json...
[nvim-treesitter] [0/15] Downloading tree-sitter-markdown_inline...
[nvim-treesitter] [0/15] Downloading tree-sitter-lua...
[nvim-treesitter] [0/15] Downloading tree-sitter-markdown...
[nvim-treesitter] [0/15] Downloading tree-sitter-python...
[nvim-treesitter] [0/15] Downloading tree-sitter-query...
[nvim-treesitter] [0/15] Downloading tree-sitter-tsx...
[nvim-treesitter] [0/15] Downloading tree-sitter-regex...
[nvim-treesitter] [0/15] Downloading tree-sitter-vim...
[nvim-treesitter] [0/15] Downloading tree-sitter-typescript...
[nvim-treesitter] [0/15] Downloading tree-sitter-yaml...
[nvim-treesitter] [0/15] Checking out locked revision
[nvim-treesitter] [0/15] Checking out locked revision
[nvim-treesitter] [0/15] Checking out locked revision
[nvim-treesitter] [0/15] Checking out locked revision
[nvim-treesitter] [0/15] Checking out locked revision
[nvim-treesitter] [0/15] Compiling...
[nvim-treesitter] [0/15] Checking out locked revision
[nvim-treesitter] [0/15] Compiling...
[nvim-treesitter] [0/15] Compiling...
[nvim-treesitter] [0/15] Compiling...
[nvim-treesitter] [0/15] Checking out locked revision
[nvim-treesitter] [0/15] Compiling...
[nvim-treesitter] [0/15] Compiling...
[nvim-treesitter] [0/15] Checking out locked revision
[nvim-treesitter] [0/15] Compiling...
[nvim-treesitter] [0/15] Compiling...
[nvim-treesitter] [1/15] Treesitter parser for json has been installed
[nvim-treesitter] [1/15] Checking out locked revision
[nvim-treesitter] [2/15] Treesitter parser for regex has been installed
[nvim-treesitter] [3/15] Treesitter parser for query has been installed
[nvim-treesitter] [4/15] Treesitter parser for help has been installed
[nvim-treesitter] [5/15] Treesitter parser for lua has been installed
[nvim-treesitter] [5/15] Compiling...
[nvim-treesitter] [5/15] Checking out locked revision
[nvim-treesitter] [5/15] Compiling...
[nvim-treesitter] [6/15] Treesitter parser for html has been installed
[nvim-treesitter] [6/15] Checking out locked revision
[nvim-treesitter] [6/15] Compiling...
[nvim-treesitter] [6/15] Checking out locked revision
[nvim-treesitter] [6/15] Compiling...
[nvim-treesitter] [6/15] Checking out locked revision
[nvim-treesitter] [6/15] Compiling...
[nvim-treesitter] [7/15] Treesitter parser for yaml has been installed
[nvim-treesitter] [8/15] Treesitter parser for bash has been installed
0 Datei(en) verschoben.
nvim-treesitter[markdown_inline]: Failed to execute the following command:
{
cmd = "cmd",
opts = {
args = { "/C", "move", "/Y", "parser.so", "C:/Users/dosaadmin/AppData/Local/nvim-data/lazy/nvim-treesitter\\parser\\markdown_inline.so" },
cwd = "C:\\Users\\dosaadmin\\AppData\\Local\\nvim-data\\tree-sitter-markdown_inline\\tree-sitter-markdown-inline",
stdio = {
[2] = <userdata 1>,
[3] = <userdata 2>
}
}
}
Zugriff verweigert
0 Datei(en) verschoben.
nvim-treesitter[markdown]: Failed to execute the following command:
{
cmd = "cmd",
opts = {
args = { "/C", "move", "/Y", "parser.so", "C:/Users/dosaadmin/AppData/Local/nvim-data/lazy/nvim-treesitter\\parser\\markdown.so" },
cwd = "C:\\Users\\dosaadmin\\AppData\\Local\\nvim-data\\tree-sitter-markdown\\tree-sitter-markdown",
stdio = {
[2] = <userdata 1>,
[3] = <userdata 2>
}
}
}
Zugriff verweigert
[nvim-treesitter] [11/15, failed: 2] Treesitter parser for javascript has been installed
[nvim-treesitter] [12/15, failed: 2] Treesitter parser for vim has been installed
[nvim-treesitter] [13/15, failed: 2] Treesitter parser for python has been installed
[nvim-treesitter] [13/15, failed: 2] Checking out locked revision
[nvim-treesitter] [13/15, failed: 2] Checking out locked revision
[nvim-treesitter] [13/15, failed: 2] Compiling...
[nvim-treesitter] [13/15, failed: 2] Compiling...
0 Datei(en) verschoben.
nvim-treesitter[typescript]: Failed to execute the following command:
{
cmd = "cmd",
opts = {
args = { "/C", "move", "/Y", "parser.so", "C:/Users/dosaadmin/AppData/Local/nvim-data/lazy/nvim-treesitter\\parser\\typescript.so" },
cwd = "C:\\Users\\dosaadmin\\AppData\\Local\\nvim-data\\tree-sitter-typescript\\typescript",
stdio = {
[2] = <userdata 1>,
[3] = <userdata 2>
}
}
}
Zugriff verweigert
0 Datei(en) verschoben.
nvim-treesitter[tsx]: Failed to execute the following command:
{
cmd = "cmd",
opts = {
args = { "/C", "move", "/Y", "parser.so", "C:/Users/dosaadmin/AppData/Local/nvim-data/lazy/nvim-treesitter\\parser\\tsx.so" },
cwd = "C:\\Users\\dosaadmin\\AppData\\Local\\nvim-data\\tree-sitter-tsx\\tsx",
stdio = {
[2] = <userdata 1>,
[3] = <userdata 2>
}
}
}
Zugriff verweigert
84 lines yanked into "+
A second thing is treesitter Parsers not getting compiled correctly. I have a feeling this is related to the Troubleshooting portion here: https://github.com/nvim-treesitter/nvim-treesitter/wiki/Windows-support
If i understand this correctly, nvim-qt on windows has it's own libc++ which is a different Version from the libc++ used by gcc. The workaround there is to install LLVM and tell treesitter to use clang instead of gcc. But so far, i have not been able to get this to work.
:checkhealth nvim-treesitter reports:
nvim-treesitter: require("nvim-treesitter.health").check()
========================================================================
## Installation
- OK: `tree-sitter` found (unknown version) (parser generator, only needed for :TSInstallFromGrammar)
- OK: `node` found v19.3.0 (only needed for :TSInstallFromGrammar)
- OK: `git` executable found.
- OK: `clang` executable found. Selected from { "clang" }
Version: clang version 15.0.5
- 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.22621",
sysname = "Windows_NT",
version = "Windows 10 Pro"
}
## Parser/Features H L F I J
- bash ✓ ✓ ✓ . ✓
- html x x x x x
- markdown_inline✓ . . . ✓
- python ✓ ✓ ✓ ✓ ✓
- tsx ✓ ✓ ✓ ✓ ✓
- yaml x x x x x
- query ✓ ✓ ✓ ✓ ✓
- typescript ✓ ✓ ✓ ✓ ✓
- javascript ✓ ✓ ✓ ✓ ✓
- regex ✓ . . . .
- lua ✓ ✓ ✓ ✓ ✓
- help ✓ . . . ✓
- markdown ✓ . ✓ . ✓
- json ✓ ✓ ✓ ✓ .
- vim ✓ ✓ ✓ . ✓
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: html(highlights): Failed to load parser: uv_dlopen: The specified procedure could not be found.
html(highlights) is concatenated from the following files:
| [ERROR]:"C:\Users\dosaadmin\AppData\Local\nvim-data\lazy\nvim-treesitter\queries\html_tags\highlights.scm", failed to load: Failed to load parser: uv_dlopen: The specified procedure could not be found.
| [ERROR]:"C:\Users\dosaadmin\AppData\Local\nvim-data\lazy\nvim-treesitter\queries\html\highlights.scm", failed to load: Failed to load parser: uv_dlopen: The specified procedure could not be found.
- ERROR: html(locals): Failed to load parser: uv_dlopen: The specified procedure could not be found.
html(locals) is concatenated from the following files:
| [ERROR]:"C:\Users\dosaadmin\AppData\Local\nvim-data\lazy\nvim-treesitter\queries\html\locals.scm", failed to load: Failed to load parser: uv_dlopen: The specified procedure could not be found.
- ERROR: html(folds): Failed to load parser: uv_dlopen: The specified procedure could not be found.
html(folds) is concatenated from the following files:
| [ERROR]:"C:\Users\dosaadmin\AppData\Local\nvim-data\lazy\nvim-treesitter\queries\html\folds.scm", failed to load: Failed to load parser: uv_dlopen: The specified procedure could not be found.
- ERROR: html(indents): Failed to load parser: uv_dlopen: The specified procedure could not be found.
html(indents) is concatenated from the following files:
| [ERROR]:"C:\Users\dosaadmin\AppData\Local\nvim-data\lazy\nvim-treesitter\queries\html_tags\indents.scm", failed to load: Failed to load parser: uv_dlopen: The specified procedure could not be found.
| [ERROR]:"C:\Users\dosaadmin\AppData\Local\nvim-data\lazy\nvim-treesitter\queries\html\indents.scm", failed to load: Failed to load parser: uv_dlopen: The specified procedure could not be found.
- ERROR: html(injections): Failed to load parser: uv_dlopen: The specified procedure could not be found.
html(injections) is concatenated from the following files:
| [ERROR]:"C:\Users\dosaadmin\AppData\Local\nvim-data\lazy\nvim-treesitter\queries\html\injections.scm", failed to load: Failed to load parser: uv_dlopen: The specified procedure could not be found.
- ERROR: yaml(highlights): Failed to load parser: uv_dlopen: The specified procedure could not be found.
yaml(highlights) is concatenated from the following files:
| [ERROR]:"C:\Users\dosaadmin\AppData\Local\nvim-data\lazy\nvim-treesitter\queries\yaml\highlights.scm", failed to load: Failed to load parser: uv_dlopen: The specified procedure could not be found.
- ERROR: yaml(locals): Failed to load parser: uv_dlopen: The specified procedure could not be found.
yaml(locals) is concatenated from the following files:
| [ERROR]:"C:\Users\dosaadmin\AppData\Local\nvim-data\lazy\nvim-treesitter\queries\yaml\locals.scm", failed to load: Failed to load parser: uv_dlopen: The specified procedure could not be found.
- ERROR: yaml(folds): Failed to load parser: uv_dlopen: The specified procedure could not be found.
yaml(folds) is concatenated from the following files:
| [ERROR]:"C:\Users\dosaadmin\AppData\Local\nvim-data\lazy\nvim-treesitter\queries\yaml\folds.scm", failed to load: Failed to load parser: uv_dlopen: The specified procedure could not be found.
- ERROR: yaml(indents): Failed to load parser: uv_dlopen: The specified procedure could not be found.
yaml(indents) is concatenated from the following files:
| [ERROR]:"C:\Users\dosaadmin\AppData\Local\nvim-data\lazy\nvim-treesitter\queries\yaml\indents.scm", failed to load: Failed to load parser: uv_dlopen: The specified procedure could not be found.
- ERROR: yaml(injections): Failed to load parser: uv_dlopen: The specified procedure could not be found.
yaml(injections) is concatenated from the following files:
| [ERROR]:"C:\Users\dosaadmin\AppData\Local\nvim-data\lazy\nvim-treesitter\queries\yaml\injections.scm", failed to load: Failed to load parser: uv_dlopen: The specified procedure could not be found.
I'm running nvim 0.8.0 on Windows 11. MSys2 and LLVM are installed.
from lazyvim.
This is definitely still an issue, Windows 11, LLVM and gcc installed.
Exact same results as @domsch1988 mentioned above. I understand this is still a WIP in Window, but thought I would throw this in, just in case you need somebody else to test anything for you.
from lazyvim.
I just did a clean install on windows and for me all treesitter parsers install without an issue.
from lazyvim.
When you close neovim and then open it back up, Treesitter doesn't try to install them all again? We are seeing this behavior on two different dev boxes (both installs exhibited the same issues reports in this ticket).
We see :checkhealth reporting that all of the parsers are installed with no issues, but then when you close neovim and open it, the treesitter installs kick in again.
(for context, this all works perfectly in WSL)
from lazyvim.
I found the issue. LazyVim installed the latest release of nvim-treesitter, but unfortunately that release is pretty old and has issues.
The issue you are encountering is nvim-treesitter/nvim-treesitter#2844
Luckily this has been fixed in the meantime, so I set version=false
for nvim-treesitter
.
To fix it, please update lazyvim and nvim-treesitter, restart Neovim and then run TSUpdate
.
If that would fail again with an access denied error, then you'll need to delete the existing parsers at AppData/Local/nvim-data/lazy/nvim-treesitter/parsers/*
(something like that. on linux again)
from lazyvim.
@folke That seems to have did the trick! Thank you so much!
from lazyvim.
Related Issues (20)
- bug: Visual Bug when on top of the file HOT 7
- Add toggle for nvim-cmp HOT 11
- Error executing vim.schedule lua callback HOT 12
- stack corruption detected (-fstack-protector)
- feature: Install LazyVIm in a isolated environment. No Internet. HOT 2
- feature: add johmsalas/text-case.nvim plugin HOT 1
- bug: Unhelpful error when trying to install a plugging that does not exist HOT 4
- bug: LspInfo command gives E464: ambiguous use of user-defined command HOT 2
- Inlay hints broken in recent dev version of neovim.
- bug: Unable to mix Deno and non-Deno files in the same workspace HOT 3
- feature: Toggle conform formatting HOT 5
- feature: use blame.nvim instead of telescope blame HOT 1
- bug: "Fix clangd offset encoding" doesn't work, still "utf-8" in C/C++ buffer HOT 23
- bug: confirming completion triggers rust-analyzer diag HOT 4
- Bufferline not anymore working in LazyVim HOT 13
- feature: configurable lualine path trimming HOT 2
- feature: When a prompt is triggered while typing, the prompt panel appears transparent. Is it possible to add an option to prevent it from becoming transparent?
- bug: mason.nvim stopped working HOT 5
- bug: Got unexpected error while installing LazyVim on WSL
- bug: Got unexpected error while installing LazyVim on WSL HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lazyvim.