From 374f06be7b74edd39b951f14ef1022a9b162fad8 Mon Sep 17 00:00:00 2001 From: awwpotato Date: Tue, 29 Jul 2025 12:11:42 -0700 Subject: [PATCH] ISSUE_TEMPLATES: convert to yml --- .github/ISSUE_TEMPLATE/bug_report.md | 29 ------------- .github/ISSUE_TEMPLATE/bug_report.yml | 51 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 --------- .github/ISSUE_TEMPLATE/plugin_request.yml | 30 +++++++++++++ 4 files changed, 81 insertions(+), 49 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/plugin_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index a3092d01..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -name: Bug Report -about: Report a bug to help us improve -title: '[BUG] ' -labels: bug -assignees: '' ---- - -| Field | Description | -|--------------|-------------| -| Plugin | `` | -| Nixpkgs | `` | -| Home Manager | `` | - - -- [ ] I have read the [FAQ](https://nix-community.github.io/nixvim/user-guide/faq.html) and my bug is not listed there. - -## Description - - - -## Minimal, Reproducible Example (MRE) - - - -```nix -programs.nixvim = { -} -``` diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..89c3254a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,51 @@ +--- +name: Bug Report +description: Report a bug to help us improve +title: "[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 = { + + } diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index cb4b050a..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Plugin Request -about: Request support for a new plugin -title: '[PLUGIN REQUEST] ' -labels: enhancement -assignees: '' ---- - -| Field | Description | -|----------|-------------| -| Plugin | `` | -| Homepage | `` | -| Nixpkgs | `` | - -## Extra Information - - diff --git a/.github/ISSUE_TEMPLATE/plugin_request.yml b/.github/ISSUE_TEMPLATE/plugin_request.yml new file mode 100644 index 00000000..57b66bcd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/plugin_request.yml @@ -0,0 +1,30 @@ +--- +name: Plugin Request +description: Request support for a new plugin +title: "[PLUGIN REQUEST] " +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