-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in neovim #18
Comments
I'm going to back out the previous PR |
Similar problem like raimon49/requirements.txt.vim#38. What is your minimum vimrc to reproduce? |
@itchyny does the latest master work for you now? |
Yes, it works after reverting. |
Hey, can anyone provide a minimum vimrc to reproduce the bug? I cannot trigger this bug. |
@itchyny @baod-rate do you happen to have a simplified version of the file you were using? |
I believe the issue (at least, my issue) is when using lazy.nvim's Lines 1 to 9 in e09bc06
even though I only thing to do here to fix this is perhaps noting that users should avoid edit: for the record, a minimal local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
-- bootstrap lazy.nvim
-- stylua: ignore
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
end
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
require("lazy").setup({
{
"vito-c/jq.vim",
lazy = true,
tag = "v1.0.3",
ft = "jq",
}
}) |
@baod-rate that is a nice summary of the issue and I think it explains why having the autoload in ftdetect script would cause an error. Thank you for reporting your findings. I have also added support for the jq filetype in vim. So this plugin will get any latest additions but after the next release of vim there the support should be built in. I'm not sure how often neovim pulls in vim changes but I imagine the changes will show up there soon as well. |
the merge of PR #17 causes an error in neovim (at least v0.9):
The text was updated successfully, but these errors were encountered: