HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
oils-for-unix
oils.vim
Vim Script2025–2025
oils-for-unix / oils.vim

oils.vim

Vim syntax highlighting for Oils

2Distinct people
6Mentions
1Explicit recommenders
17GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Vim syntax highlighting for Oils

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

> `[` in one context is an index, in another it’s test. vim can match both, but it can’t decide which meaning is active unless the outer mode is remembered. and that’s the gap…

chubot used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 10:01:16 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour6 dated mentions

Observed mentions: 2025-06-13 02:24:54 UTC to 2025-06-13 15:21:38 UTC.

0122025-06-13 02:00:00 UTC to 2025-06-13 03:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJun 13, 02:002025-06-13 03:00:00 UTC to 2025-06-13 04:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025-06-13 04:00:00 UTC to 2025-06-13 05:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-13 05:00:00 UTC to 2025-06-13 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-13 06:00:00 UTC to 2025-06-13 07:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025-06-13 07:00:00 UTC to 2025-06-13 08:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025-06-13 08:00:00 UTC to 2025-06-13 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJun 13, 08:002025-06-13 09:00:00 UTC to 2025-06-13 10:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-13 10:00:00 UTC to 2025-06-13 11:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-13 11:00:00 UTC to 2025-06-13 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-13 12:00:00 UTC to 2025-06-13 13:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-13 13:00:00 UTC to 2025-06-13 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-13 14:00:00 UTC to 2025-06-13 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-13 15:00:00 UTC to 2025-06-13 16:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 commentsJun 13, 15:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jun 13, 02:002025-06-13 02:00:00 UTC2025-06-13 03:00:00 UTC110
Jun 13, 03:002025-06-13 03:00:00 UTC2025-06-13 04:00:00 UTC101
Jun 13, 04:002025-06-13 04:00:00 UTC2025-06-13 05:00:00 UTC000
Jun 13, 05:002025-06-13 05:00:00 UTC2025-06-13 06:00:00 UTC000
Jun 13, 06:002025-06-13 06:00:00 UTC2025-06-13 07:00:00 UTC101
Jun 13, 07:002025-06-13 07:00:00 UTC2025-06-13 08:00:00 UTC101
Jun 13, 08:002025-06-13 08:00:00 UTC2025-06-13 09:00:00 UTC000
Jun 13, 09:002025-06-13 09:00:00 UTC2025-06-13 10:00:00 UTC000
Jun 13, 10:002025-06-13 10:00:00 UTC2025-06-13 11:00:00 UTC000
Jun 13, 11:002025-06-13 11:00:00 UTC2025-06-13 12:00:00 UTC000
Jun 13, 12:002025-06-13 12:00:00 UTC2025-06-13 13:00:00 UTC000
Jun 13, 13:002025-06-13 13:00:00 UTC2025-06-13 14:00:00 UTC000
Jun 13, 14:002025-06-13 14:00:00 UTC2025-06-13 15:00:00 UTC000
Jun 13, 15:002025-06-13 15:00:00 UTC2025-06-13 16:00:00 UTC202

What Hacker News says

1 sources
no memory of nesting It absolutely nests! Vim's model has recursion, and it works perfectly. Some details here: https://github.com/oils-for-unix/oils.vim/blob/main/doc/stag... This highlighter is extremely accurate, and I would call it correct. I list about 3 known issues here, and they are all fixable/expressible in Vim's model: https://github.com/oils-for-unix/oils.vim/blob/main/doc/algo... Please install it, and file bugs with any inaccuracies. If YSH code is valid, it should not be mis-highlighted. There is test data in false-postive.ysh and false-negative.ysh. Try to break it! --- There are lots of Vim/Textmate plugins that are buggy, but it doesn't mean that all such plugins are. generate semantic tokens outside I'd also say that this doesn't really help, since I believe Tree-sitter is the most common way of doing that. I sho
Read the rest
w at the top of the doc that Tree-sitter has issues in practice expressing shell (although admittedly it's not a fair comparison to YSH in Vim. Shell in Vim will have more problems, although in practice I find it pretty good)
In Three Algorithms for YSH Syntax Highlighting

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.