2022-11-29 22:40:00 +08:00
|
|
|
---
|
|
|
|
name: Bug report
|
2022-12-21 22:37:46 +08:00
|
|
|
about: Create a report to help us improve
|
|
|
|
title: ''
|
|
|
|
labels: bug
|
|
|
|
assignees: ''
|
|
|
|
|
2022-11-29 22:40:00 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
**Describe the bug**
|
|
|
|
A clear and concise description of what the bug is.
|
|
|
|
|
|
|
|
**Which version of Neovim are you using?**
|
|
|
|
Gui(specify which GUI client you are using)? Nightly? Version?
|
|
|
|
|
|
|
|
**To Reproduce**
|
2022-12-21 22:39:44 +08:00
|
|
|
Make sure to read https://github.com/folke/lazy.nvim/wiki/Minimal-%60init.lua%60-to-Reproduce-an-Issue
|
2022-12-21 22:37:46 +08:00
|
|
|
|
2022-11-29 22:40:00 +08:00
|
|
|
Steps to reproduce the behavior:
|
|
|
|
|
|
|
|
1.
|
|
|
|
2.
|
|
|
|
3.
|
|
|
|
|
|
|
|
**Expected Behavior**
|
|
|
|
A clear and concise description of what you expected to happen.
|
|
|
|
|
|
|
|
**Screenshots**
|
|
|
|
If applicable, add screenshots to help explain your problem.
|
|
|
|
|
2022-12-22 01:49:00 +08:00
|
|
|
<details>
|
|
|
|
<summary>repro.lua</summary>
|
|
|
|
|
|
|
|
```lua
|
|
|
|
local root = vim.fn.fnamemodify("./.repro", ":p")
|
|
|
|
|
|
|
|
-- set stdpaths to use .repro
|
|
|
|
for _, name in ipairs({ "config", "data", "state", "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 = {
|
|
|
|
-- do not remove the colorscheme!
|
|
|
|
"folke/tokyonight.nvim",
|
|
|
|
-- add any other pugins here
|
|
|
|
}
|
|
|
|
require("lazy").setup(plugins, {
|
|
|
|
root = root .. "/plugins",
|
|
|
|
})
|
|
|
|
|
|
|
|
-- add anything else here
|
|
|
|
vim.opt.termguicolors = true
|
|
|
|
-- do not remove the colorscheme!
|
|
|
|
vim.cmd([[colorscheme tokyonight]])
|
|
|
|
```
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
2022-11-29 22:40:00 +08:00
|
|
|
**Log**
|
|
|
|
Please include any related errors from the Noice log file. (open with `:Lazy log`)
|
|
|
|
|
|
|
|
<details>
|
|
|
|
<summary>Lazy log</summary>
|
|
|
|
<pre>
|
|
|
|
paste log here
|
|
|
|
</pre>
|
|
|
|
</details>
|