Comments (2)
Reproducible with base Neovim. This should be reported upstream to nvim-treesitter
with the repro.lua
as follows:
-- save as repro.lua
-- run with nvim -u repro.lua
-- DO NOT change the paths
local root = vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .repro
for _, name in ipairs { "config", "data", "state", "runtime", "cache" } do
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end
-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system {
"git",
"clone",
"--filter=blob:none",
"--single-branch",
"https://github.com/folke/lazy.nvim.git",
lazypath,
}
end
vim.opt.runtimepath:prepend(lazypath)
-- install plugins
local plugins = {
{
"nvim-treesitter/nvim-treesitter",
config = function()
require("nvim-treesitter.configs").setup {
ensure_installed = { "c" },
highlight = { enable = true },
}
end,
},
-- add any other plugins here
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
Sorry I'm not much help!
from astronvim.
Thank you for your reply. I found that the ex: in the comment caused the function prinf to be unrecognized. It's possible that this string structure misled the underlying plugin, causing it to misinterpret. Simply removing ex: or adding a newline before ex will prevent further errors. Once again, thank you for AstroNvim, it has been very helpful to me.
from astronvim.
Related Issues (20)
- Cpplint Cannot Work Effectively HOT 2
- AstroLSP not autostarting language server defined by `opts.servers` HOT 3
- Invalid 'group': 'lspconfig' HOT 3
- `g.icons_enabled = false` does not disable icons HOT 1
- nvim-treesitter[javascript]: Could not create tree-sitter-javascript-tmp HOT 1
- Where is the AstroNvim v3 documentation? HOT 3
- AstroNvim displays an error about null-ls HOT 1
- quit sometimes is very slow HOT 11
- Error detected while processing WinClosed Autocommands for "*" HOT 2
- Resort autocompletion (python) HOT 1
- toggleterm requires an extra click when triggering with <F7> HOT 2
- Error when executing the :Format command HOT 2
- How to change mapping for Gitsigns? HOT 1
- neovide define keymap not work on v4.2.0 HOT 2
- Recurring error with HTML file HOT 6
- Error loading LuaSnip after installing astronvim HOT 4
- Tab character work as spaces HOT 17
- How to configure c++ tools? HOT 2
- How to update core plugin pin commit? HOT 5
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 astronvim.