Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/1-bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Filing through the API or `gh issue create`? Forms only apply on the web:
# write the body with each field's label below as a `### ` heading, in order.
name: Wrong or broken colors
description: A highlight group in the wrong color, unreadable, uncolored, or an error from the colorscheme.
labels: [bug]
body:
- type: markdown
attributes:
value: |
mistpine.nvim follows the [mistpine spec](https://github.com/mistpine/mistpine/blob/main/docs/spec.md).
A color that differs from the spec is a bug here; a spec color you'd like
changed belongs in [mistpine](https://github.com/mistpine/mistpine/issues/new/choose).
- type: textarea
id: what
attributes:
label: What's wrong
description: What you see, and what you expected (a spec token if you know it).
validations:
required: true
- type: input
id: groups
attributes:
label: Highlight groups
description: Put the cursor on it and run `:Inspect`.
placeholder: "@string.documentation.python, TelescopeSelection, BlinkCmpMenu"
- type: textarea
id: screenshot
attributes:
label: Screenshot
description: Drag an image here.
- type: textarea
id: repro
attributes:
label: Minimal config
description: A config that shows the problem with `nvim --clean -u repro.lua`, including your mistpine `setup()` options.
render: lua
- type: textarea
id: versions
attributes:
label: Versions
description: "`nvim --version` (first three lines), the mistpine.nvim commit (`:Lazy` shows it), the terminal or GUI, and the OS."
render: text
validations:
required: true
- type: checkboxes
id: checks
attributes:
label: Checks
options:
- label: I'm on the latest mistpine.nvim commit.
required: true
- label: It still happens without my `on_colors` and `on_highlights` overrides.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/2-plugin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Filing through the API or `gh issue create`? Forms only apply on the web:
# write the body with each field's label below as a `### ` heading, in order.
name: Support a plugin
description: Add highlight groups for a plugin mistpine.nvim doesn't style yet.
labels: [enhancement]
body:
- type: markdown
attributes:
value: |
Supported today: blink.cmp, bufferline.nvim, flash.nvim, gitsigns.nvim,
grug-far.nvim, incline.nvim, lazy.nvim, mason.nvim, mini.icons, noice.nvim,
render-markdown.nvim, snacks.nvim, telescope.nvim, trouble.nvim,
which-key.nvim and zen-mode.nvim. For a supported plugin with a wrong or
missing group, use **Wrong or broken colors**.
- type: input
id: plugin
attributes:
label: Plugin
description: Its repository URL.
placeholder: "https://github.com/folke/todo-comments.nvim"
validations:
required: true
- type: textarea
id: groups
attributes:
label: Highlight groups
description: The groups the plugin defines (its docs, or `:filter /^Prefix/ highlight`), and which ones look off today.
render: text
- type: textarea
id: screenshot
attributes:
label: Screenshot
description: How it looks with mistpine today. Drag an image here.
- type: textarea
id: notes
attributes:
label: Notes
description: Which spec roles fit (diagnostics, diff, search, menus) and anything unusual, such as hard-coded colors.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/3-feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Filing through the API or `gh issue create`? Forms only apply on the web:
# write the body with each field's label below as a `### ` heading, in order.
name: Feature or option
description: A new option, API or Neovim feature to support.
labels: [enhancement]
body:
- type: markdown
attributes:
value: |
mistpine is dark only, and its colors come from the spec, so new
variants or palettes are out of scope here. `on_colors` and
`on_highlights` cover most one-off changes.
- type: textarea
id: what
attributes:
label: What you'd like
description: The option or behavior, and how you'd use it.
validations:
required: true
- type: textarea
id: why
attributes:
label: Why
description: What you can't do today, and what you tried (including `on_colors` and `on_highlights`).
validations:
required: true
- type: textarea
id: example
attributes:
label: Example
description: How the config would look.
render: lua
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Change a palette color
url: https://github.com/mistpine/mistpine/issues/new?template=1-spec-change.yml
about: mistpine.nvim takes its colors from the mistpine spec. Propose palette changes there.
30 changes: 30 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!--
Title: a Conventional Commit header, e.g. `fix: link @lsp.type.enumMember to Constant`.
PRs are squash-merged and the title becomes the commit on main: lowercase,
imperative, 72 characters at most (aim for 50).

Keep every heading. Tick a box only for a command you ran on this branch;
otherwise leave it unticked and say why below it.
-->

## What and why

<!-- What changes and the problem it solves. Link the issue: `Closes #123`. -->

## Checks

- [ ] `make test`
- [ ] `make test-plugins` (if a plugin integration changed)
- [ ] `make lint` (stylua, Biome, tsc)
- [ ] `make sync` leaves `lua/mistpine/palette.lua` unchanged

## Colors

- [ ] Every color is a palette key or a spec blend; no new hex values
- [ ] Bold and italic follow the spec (bold functions, italic strings and comments)
- [ ] `palette.lua` is not edited by hand (color changes go to mistpine first)

## Screenshots

<!-- Before and after for any visible change, with the highlight groups.
Delete if nothing visible changed. -->
Loading