mirror of https://github.com/folke/lazy.nvim.git
ci: Update issue templates
This commit is contained in:
parent
2fd78fbed8
commit
d34a02d7b2
|
@ -28,6 +28,49 @@ A clear and concise description of what you expected to happen.
|
||||||
**Screenshots**
|
**Screenshots**
|
||||||
If applicable, add screenshots to help explain your problem.
|
If applicable, add screenshots to help explain your problem.
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
||||||
**Log**
|
**Log**
|
||||||
Please include any related errors from the Noice log file. (open with `:Lazy log`)
|
Please include any related errors from the Noice log file. (open with `:Lazy log`)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue