PrismJS / PrismJS/prism

Language Request: fish

Open
#3,660 5 comments 23 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

language-definitions new language
Dominant language
JavaScript
Stars
13k
Forks
1.4k
Avg merge
15h 36m
Merged PRs (30d)
3

Description

Language
Fish is the scripting language of the Fish Shell.

Here's what it looks like:

# an example fish function
function echo-variable --no-scope-shadowing
    if set -q -- $argv
        set varname $argv
    else
        set varname (echo $argv | string upper)
    end
    eval 'echo $'$varname
end

Additional resources

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue requests Fish syntax-highlighting support and provides a Fish example plus a link to the Fish website. Start by reviewing how existing language definitions and their tests are organized in Prism, then use the supplied example as a reference; done means the Fish syntax is highlighted correctly without regressions.

Written by the indexing model from the issue text.

Assessment

Tech stack
fish
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.