auto-detect the forge #561

Open
opened 2026-05-02 20:07:52 +00:00 by barrettruth · 0 comments
Owner

Prerequisites

Neovim version

a

Operating system

a

Description

should we also remove manual source config?

Steps to reproduce

a1.
2.
3.

Health check

No response

Forge CLI version

No response

Minimal reproduction

vim.env.LAZY_STDPATH = '.repro'
load(vim.fn.system('curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua'))()
require('lazy.nvim').setup({
  spec = {
    { 'barrettruth/midnight.nvim', lazy = false, config = function() vim.cmd.colorscheme('midnight') end },
    { 'tpope/vim-fugitive' },
    { 'ibhagwan/fzf-lua' },
    {
      'barrettruth/forge.nvim',
      keys = {
        { '<c-g>', mode = { 'n', 'v' } },
      },
    },
  },
})
### Prerequisites - [x] I have searched [existing issues](https://github.com/barrettruth/forge.nvim/issues) - [x] I have updated to the latest version ### Neovim version ```text a ``` ### Operating system a ### Description should we also remove manual source config? ### Steps to reproduce a1. 2. 3. ### Health check _No response_ ### Forge CLI version _No response_ ### Minimal reproduction ```lua vim.env.LAZY_STDPATH = '.repro' load(vim.fn.system('curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua'))() require('lazy.nvim').setup({ spec = { { 'barrettruth/midnight.nvim', lazy = false, config = function() vim.cmd.colorscheme('midnight') end }, { 'tpope/vim-fugitive' }, { 'ibhagwan/fzf-lua' }, { 'barrettruth/forge.nvim', keys = { { '<c-g>', mode = { 'n', 'v' } }, }, }, }, }) ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/forge.nvim#561
No description provided.