2022-12-23 13:15:27 +00:00
|
|
|
name: Bug Report
|
2022-12-23 12:53:52 +00:00
|
|
|
description: File a bug/issue
|
2022-12-23 13:03:07 +00:00
|
|
|
title: "bug: "
|
2022-12-23 12:53:52 +00:00
|
|
|
labels: [bug]
|
|
|
|
body:
|
2022-12-23 13:03:07 +00:00
|
|
|
- type: markdown
|
|
|
|
attributes:
|
|
|
|
value: |
|
2022-12-23 13:06:51 +00:00
|
|
|
**Before** reporting an issue, make sure to search [existing issues](https://github.com/folke/lazy.nvim/issues).
|
|
|
|
Usage questions such as ***"How do I...?"*** belong in [Discussions](https://github.com/folke/lazy.nvim/discussions) and will be closed.
|
2022-12-23 12:53:52 +00:00
|
|
|
- type: checkboxes
|
|
|
|
attributes:
|
|
|
|
label: Did you check docs and existing issues?
|
|
|
|
description: Make sure you checked all of the below before submitting an issue
|
|
|
|
options:
|
2022-12-23 13:03:07 +00:00
|
|
|
- label: I have read all the lazy docs
|
2022-12-23 12:53:52 +00:00
|
|
|
required: true
|
|
|
|
- label: I have searched the existing issues of lazy
|
|
|
|
required: true
|
|
|
|
- label: I have searched the exsiting issues of the plugin I have a problem with
|
|
|
|
required: true
|
2022-12-23 13:03:07 +00:00
|
|
|
- type: input
|
|
|
|
attributes:
|
|
|
|
label: "Neovim version (nvim -v)"
|
|
|
|
placeholder: "0.8.0 commit db1b0ee3b30f"
|
|
|
|
validations:
|
|
|
|
required: true
|
|
|
|
- type: input
|
|
|
|
attributes:
|
|
|
|
label: "Operating system/version"
|
|
|
|
placeholder: "MacOS 11.5"
|
|
|
|
validations:
|
|
|
|
required: true
|
2022-12-23 12:53:52 +00:00
|
|
|
- type: textarea
|
|
|
|
attributes:
|
|
|
|
label: Describe the bug
|
|
|
|
description: A clear and concise description of what the bug is. Please include any related errors you see in Neovim.
|
|
|
|
validations:
|
|
|
|
required: true
|
|
|
|
- type: textarea
|
|
|
|
attributes:
|
|
|
|
label: Steps To Reproduce
|
|
|
|
description: Steps to reproduce the behavior.
|
|
|
|
placeholder: |
|
|
|
|
1.
|
|
|
|
2.
|
|
|
|
3.
|
|
|
|
validations:
|
|
|
|
required: true
|
|
|
|
- type: textarea
|
|
|
|
attributes:
|
|
|
|
label: Expected Behavior
|
|
|
|
description: A concise description of what you expected to happen.
|
|
|
|
validations:
|
|
|
|
required: true
|
|
|
|
- type: textarea
|
|
|
|
attributes:
|
|
|
|
label: Repro
|
2022-12-23 13:06:51 +00:00
|
|
|
description: Minimal `init.lua` to reproduce this issue. Save as `repro.lua` and run with `nvim -u repro.lua`
|
2022-12-23 12:53:52 +00:00
|
|
|
value: |
|
|
|
|
-- DO NOT change the paths and don't remove the colorscheme
|
|
|
|
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 = {
|
|
|
|
"folke/tokyonight.nvim",
|
|
|
|
-- add any other pugins here
|
|
|
|
}
|
|
|
|
require("lazy").setup(plugins, {
|
|
|
|
root = root .. "/plugins",
|
|
|
|
})
|
|
|
|
|
|
|
|
vim.cmd.colorscheme("tokyonight")
|
|
|
|
-- add anything else here
|
|
|
|
render: Lua
|
|
|
|
validations:
|
|
|
|
required: false
|