Add issue templates

This commit is contained in:
Ethan P 2020-02-22 18:34:57 -08:00 committed by David Peter
parent ad42b275a9
commit 63f6343cf1
2 changed files with 63 additions and 0 deletions

40
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@ -0,0 +1,40 @@
---
name: Bug Report
about: Report a bug.
title: "[Bug] "
labels: bug
assignees: ''
---
\-------------------------------------------------------------------------------------------------
**IS THIS BUG RELATED TO EXTERNAL TOOLS? (e.g. git, less, etc.)**
If it is, there's a good chance we might need to know a little bit more about the environment
which you're running `bat` on.
**If you're on Windows:**
Please tell us about your:
- Windows Version
**If you're on Linux or MacOS:**
Please run the script at https://github.com/sharkdp/bat/blob/diag-tools/diagnostics/info.sh and
paste the output at the bottom of the bug report.
**Once you're done:**
Please remove this header and continue.
\-------------------------------------------------------------------------------------------------
**What do you expect to happen?**
...
**What actually happens?**
...
**How did you install `bat`?**
apt-get, homebrew, GitHub release, etc.
**If applicable, can you tell us more about your system?**
...

View File

@ -0,0 +1,23 @@
---
name: Syntax Request
about: Request adding a new syntax to bat.
title: "[Syntax Request] "
labels: new-syntax
assignees: ''
---
\-------------------------------------------------------------------------------------------------
**BEFORE YOU MAKE A REQUEST:**
Are you looking to add a new syntax to use on one of your devices?
Bat supports locally-installed language definitions. See the link below:
https://github.com/sharkdp/bat#adding-new-syntaxes--language-definitions
If you think adding this syntax would help others as well, please remove this header and continue.
\-------------------------------------------------------------------------------------------------
**Syntax:** syntax/language name