mirror of
https://github.com/harivansh-afk/forge.nvim.git
synced 2026-04-15 08:03:44 +00:00
more tweaks
This commit is contained in:
parent
e31b2777f9
commit
25509a48ac
7 changed files with 522 additions and 0 deletions
29
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
29
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
|
|
@ -58,3 +58,32 @@ body:
|
|||
label: 'Forge CLI version'
|
||||
description: 'Output of `gh --version`, `glab --version`, or `tea --version`'
|
||||
render: text
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Minimal reproduction
|
||||
description: |
|
||||
Save the script below as `repro.lua`, edit if needed, and run:
|
||||
```
|
||||
nvim -u repro.lua
|
||||
```
|
||||
Confirm the bug reproduces with this config before submitting.
|
||||
render: lua
|
||||
value: |
|
||||
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' } },
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
validations:
|
||||
required: true
|
||||
|
|
|
|||
3
.github/pull_request_template.md
vendored
Normal file
3
.github/pull_request_template.md
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
## Problem
|
||||
|
||||
## Solution
|
||||
14
.github/workflows/quality.yaml
vendored
14
.github/workflows/quality.yaml
vendored
|
|
@ -14,6 +14,7 @@ jobs:
|
|||
lua: ${{ steps.changes.outputs.lua }}
|
||||
markdown: ${{ steps.changes.outputs.markdown }}
|
||||
vimdoc: ${{ steps.changes.outputs.vimdoc }}
|
||||
nix: ${{ steps.changes.outputs.nix }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dorny/paths-filter@v3
|
||||
|
|
@ -31,6 +32,9 @@ jobs:
|
|||
- '*.md'
|
||||
vimdoc:
|
||||
- 'doc/**'
|
||||
nix:
|
||||
- '*.nix'
|
||||
- 'flake.lock'
|
||||
|
||||
lua-format:
|
||||
name: Lua Format Check
|
||||
|
|
@ -76,6 +80,16 @@ jobs:
|
|||
- uses: cachix/install-nix-action@v31
|
||||
- run: nix develop .#ci --command vimdoc-language-server check doc/
|
||||
|
||||
nix-format:
|
||||
name: Nix Format Check
|
||||
runs-on: ubuntu-latest
|
||||
needs: changes
|
||||
if: ${{ needs.changes.outputs.nix == 'true' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v31
|
||||
- run: nix fmt -- --check .
|
||||
|
||||
markdown-format:
|
||||
name: Markdown Format Check
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue