Skip to content

Commit

Permalink
Merge pull request ThePrimeagen#475 from theKnightsOfRohan/fix/issue_…
Browse files Browse the repository at this point in the history
…templates

fix issue templates (Correctly this time)
  • Loading branch information
ThePrimeagen authored and William Wilkinson committed Jan 19, 2024
2 parents fe03a9d + f349a66 commit fa72fbe
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Bug Report
description: File a bug report
title: "[Bug]"
labels: bug
body:
- type: textarea
id: issue
attributes:
label: Description of the issue
description: What's the issue you encountered?
validations:
required: true
- type: textarea
id: repro
attributes:
label: Reproduction steps
description: How can the issue be reproduced?
placeholder: Describe each step as precisely as possible
validations:
required: true
- type: textarea
id: log
attributes:
label: Log file
description: Reproduce the issue exactly in a new neovim session, then run the neovim command `:lua require("harpoon.logger"):show()`
validations:
required: true
- type: input
id: version
attributes:
label: Neovim Version
description: In your terminal, run `nvim --version`
placeholder: "e.g. 0.9.4"
validations:
required: true
- type: textarea
id: config
attributes:
label: Minimal Config
description: For ease of replication in the case of complex behaviour, paste a small config under which the bug occurs.
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional context?
description: |
- Additional info about your environment:
- Any other information relevant to your issue.
validations:
required: false
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Feature Request
description: Suggest a new feature for Harpoon.
title: "[Feature Request]"
body:
- type: textarea
id: overview
attributes:
label: Overview
description: Include the basic, high-level concepts for this feature here.
validations:
required: true
- type: textarea
id: details
attributes:
label: Smaller details
description: These may include specific methods of implementation etc.
validations:
required: true
- type: textarea
id: request
attributes:
label: Nature of request
validations:
required: true
- type: textarea
id: feature
attributes:
label: Why would this feature be useful?
description: Remember that harpoon should not solve every problem, but provide the hooks required to solve them.
validations:
required: true
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ vim.keymap.set("n", "<C-s>", function() harpoon:list():select(4) end)
-- Toggle previous & next buffers stored within Harpoon list
vim.keymap.set("n", "<C-S-P>", function() harpoon:list():prev() end)
vim.keymap.set("n", "<C-S-N>", function() harpoon:list():next() end)

-- Clear Harpoon list
vim.keymap.set("n", "<C-x>", function() harpoon:list():clear() end)
```

### Telescope
Expand Down

0 comments on commit fa72fbe

Please sign in to comment.