mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
Update bug_report.yml
This commit is contained in:
parent
9cb8497413
commit
89bcc4b197
1 changed files with 15 additions and 26 deletions
41
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
41
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
|
|
@ -46,36 +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: |
|
||||||
-- DO NOT change the paths and do not remove the colorscheme
|
vim.o.packpath = '/tmp/nvim/site'
|
||||||
local root = vim.fn.fnamemodify("./.repro", ":p")
|
|
||||||
|
|
||||||
-- Set stdpaths to use .repro
|
local plugins = {
|
||||||
for _, name in ipairs({ "config", "data", "state", "cache" }) do
|
rose_pine = 'https://github.com/rose-pine/neovim',
|
||||||
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
|
-- ADD OTHER PLUGINS _NECESSARY_ TO REPRODUCE THE ISSUE
|
||||||
end
|
}
|
||||||
|
|
||||||
-- Bootstrap lazy.nvim
|
for name, url in pairs(plugins) do
|
||||||
local lazypath = root .. "/plugins/lazy.nvim"
|
local install_path = '/tmp/nvim/site/pack/test/start/' .. name
|
||||||
if not vim.loop.fs_stat(lazypath) then
|
if vim.fn.isdirectory(install_path) == 0 then
|
||||||
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
|
vim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
|
||||||
end
|
end
|
||||||
vim.opt.runtimepath:prepend(lazypath)
|
end
|
||||||
|
|
||||||
-- Install plugins
|
require('rose-pine').setup({
|
||||||
local plugins = {
|
-- ADD ROSÉ PINE CONFIG THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE
|
||||||
"rose-pine/neovim",
|
})
|
||||||
name = "rose-pine",
|
|
||||||
config = function()
|
|
||||||
-- Add relevant Rosé Pine config below
|
|
||||||
require("rose-pine").setup({})
|
|
||||||
end
|
|
||||||
}
|
|
||||||
require("lazy").setup(plugins, {
|
|
||||||
root = root .. "/plugins",
|
|
||||||
})
|
|
||||||
|
|
||||||
vim.cmd.colorscheme("rose-pine")
|
vim.cmd.colorscheme = "rose-pine"
|
||||||
-- Add anything else here
|
|
||||||
render: Lua
|
render: Lua
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue