Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

I'm not very adept at GH's search function so please don't come for me if this is asked a lot.

I enjoy using CodeRunner for simple file edits/viewing and learned tonight that switching to Shell Script as the language for any Fish configuration files leads to a broken Fish config.

I've since added Fish as a language within CodeRunner so now I just need to add Fish syntax.

Does anyone know if there's a Fish syntax file available somewhere?

You must be logged in to vote

Replies: 1 comment · 1 reply

Comment options

For CodeRunner / editors using TextMate grammars, the community-maintained fish grammar is at fish-shell/fish-shell/share/tools/web_config/partials — but the more battle-tested one is bmatcuk/fish.tmbundle on GitHub. Tree-sitter users have ram02z/tree-sitter-fish. Either should import cleanly into CodeRunner's syntax system.

You must be logged in to vote
1 reply
@zgracem
Comment options

the community-maintained fish grammar is at fish-shell/fish-shell/share/tools/web_config/partials — but the more battle-tested one is bmatcuk/fish.tmbundle on GitHub

Both of those links are broken. They point to things that don't even exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.