Skip to content

Minimal reproduction template

Lukas Reineke edited this page Sep 28, 2023 · 3 revisions

When opening a bug report, please use this template to make a minimal, reproducible configuration.

Minimal config

min-init.lua

local lazypath = "/tmp/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
    vim.fn.system { "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath }
end
vim.opt.rtp:prepend(lazypath)
vim.opt.termguicolors = true

require("lazy").setup ({
    {
        "lukas-reineke/indent-blankline.nvim",
        config = function()
            require("ibl").setup {}
        end,
    },
    -- uncomment this if the problem is related to scope
    -- {
    --     "nvim-treesitter/nvim-treesitter",
    --     build = ":TSUpdate",
    --     config = function()
    --         require("nvim-treesitter.configs").setup {
    --             ensure_installed = { "rust" }, -- change this to the language you use
    --         }
    --     end,
    -- },
}, { root = "/tmp/lazy" })

Steps

  1. nvim --clean -u min-init.lua
  2. ...
Clone this wiki locally