ISSUE_TEMPLATES: convert to yml

This commit is contained in:
awwpotato 2025-07-29 12:11:42 -07:00
parent e1aa35fb04
commit 374f06be7b
No known key found for this signature in database
4 changed files with 81 additions and 49 deletions

View file

@ -1,29 +0,0 @@
---
name: Bug Report
about: Report a bug to help us improve
title: '[BUG] <BUG>'
labels: bug
assignees: ''
---
| Field | Description |
|--------------|-------------|
| Plugin | `<PLUGIN>` | <!-- [REQUIRED] affected NixVim plugin(s) -->
| Nixpkgs | `<VERSION>` | <!-- [REQUIRED] `unstable` or specific version -->
| Home Manager | `<VERSION>` | <!-- [OPTIONAL] `unstable` or specific version -->
<!-- IMPORTANT -->
- [ ] I have read the [FAQ](https://nix-community.github.io/nixvim/user-guide/faq.html) and my bug is not listed there.
## Description
<!-- See https://stackoverflow.com/questions/29416909 -->
## Minimal, Reproducible Example (MRE)
<!-- See https://stackoverflow.com/help/minimal-reproducible-example -->
```nix
programs.nixvim = {
}
```

51
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View file

@ -0,0 +1,51 @@
---
name: Bug Report
description: Report a bug to help us improve
title: "[BUG] <BUG>"
labels: ["bug"]
body:
- type: input
attributes:
label: Plugin
description: The affected NixVim plugin(s)
- type: dropdown
attributes:
label: Nixpkgs Release
multiple: false
options:
- "unstable"
- "25.05"
- "24.11"
- "other"
validations:
required: true
- type: dropdown
attributes:
label: Home Manager Release
multiple: false
options:
- "unstable"
- "25.05"
- "24.11"
- "other"
- type: checkboxes
attributes:
label: I have read the FAQ
options:
- label: >-
I have read the [FAQ](https://nix-community.github.io/nixvim/user-guide/faq.html)
and my bug is not listed there.
required: true
- type: textarea
attributes:
label: Description
description: See [How can I write good bug reports?](https://stackoverflow.com/questions/29416909)
- type: textarea
attributes:
label: Minimal, Reproducible Example (MRE)
description: See [How to create a Minimal, Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example)
render: nix
placeholder: |
programs.nixvim = {
}

View file

@ -1,20 +0,0 @@
---
name: Plugin Request
about: Request support for a new plugin
title: '[PLUGIN REQUEST] <PLUGIN>'
labels: enhancement
assignees: ''
---
| Field | Description |
|----------|-------------|
| Plugin | `<PLUGIN>` | <!-- Plugin NixVim should support -->
| Homepage | `<URL>` | <!-- URL to the plugin repository -->
| Nixpkgs | `<PACKAGE>` | <!-- Nixpkgs URL or `false` -->
## Extra Information
<!--
Provide extra information about the plugin, and any ideas regarding
NixVim-specific options.
-->

View file

@ -0,0 +1,30 @@
---
name: Plugin Request
description: Request support for a new plugin
title: "[PLUGIN REQUEST] <PLUGIN>"
labels: ["enhancement"]
body:
- type: input
attributes:
label: Plugin
description: Plugin NixVim should support
validations:
required: true
- type: input
attributes:
label: Homepage
description: URL to the plugin repository
validations:
required: true
- type: input
attributes:
label: Nixpkgs URL
description: URL to the package for this plugin in Nixpkgs
- type: textarea
attributes:
label: Extra Information
description: >-
Provide extra information about the plugin,
and any ideas regarding NixVim-specific options.
validations:
required: true