Update bug_report.yml (#157)

This commit is contained in:
not 2023-04-30 16:27:50 -05:00 committed by GitHub
commit eb057bd6dd

View file

@ -46,25 +46,25 @@ body:
label: Repro label: Repro
description: Minimal `init.lua` to reproduce this issue. Save as `repro.lua` and run with `nvim -u repro.lua` description: Minimal `init.lua` to reproduce this issue. Save as `repro.lua` and run with `nvim -u repro.lua`
value: | value: |
vim.o.packpath = '/tmp/nvim/site' vim.o.packpath = "/tmp/nvim/site"
local plugins = { local plugins = {
rose_pine = 'https://github.com/rose-pine/neovim', rose_pine = "https://github.com/rose-pine/neovim",
-- ADD OTHER PLUGINS _NECESSARY_ TO REPRODUCE THE ISSUE -- ADD OTHER PLUGINS _NECESSARY_ TO REPRODUCE THE ISSUE
} }
for name, url in pairs(plugins) do for name, url in pairs(plugins) do
local install_path = '/tmp/nvim/site/pack/test/start/' .. name local install_path = "/tmp/nvim/site/pack/test/start/" .. name
if vim.fn.isdirectory(install_path) == 0 then if vim.fn.isdirectory(install_path) == 0 then
vim.fn.system { 'git', 'clone', '--depth=1', url, install_path } vim.fn.system({ "git", "clone", "--depth=1", url, install_path })
end end
end end
require('rose-pine').setup({ require("rose-pine").setup({
-- ADD ROSÉ PINE CONFIG THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE -- ADD ROSÉ PINE CONFIG THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE
}) })
vim.cmd.colorscheme = "rose-pine" vim.cmd("colorscheme rose-pine")
render: Lua render: Lua
validations: validations:
required: false required: false