Hacker GitHub

← All repos

oils-for-unix/oils.vim

View on GitHub ↗ ★ 17 Vim Script

Vim syntax highlighting for Oils

6 mentions on Hacker News by 2 people: 1 story, 5 comments · first 2025-06-13 · latest 2025-06-13

Mentions per year 6 mentions · busiest year 2025 (6)
20082026
  1. …[ within expressions like a[i] is highlighted (currently Normal, but you can make it any color - https://github.com/oils-for-unix/oils.vim/blob/main/syntax/l... ) Again I recommend trying it. Verify what you think the bugs are. I think you…
  2. …also allows MULTIPLE here docs, and I claim that ZERO syntax highlighters handle it correctly - https://github.com/oils-for-unix/oils.vim/blob/main/demo/bad... (YSH removes here docs in favor of Python-like multi-line strings) --- But the…
  3. Nested is also demonstrated by stage 2 fixing the "nested double quotes bug". Screenshots: https://github.com/oils-for-unix/oils.vim/blob/main/doc/stag... Stage 1 is non-recursive, but stage 2 is recursive.
  4. …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…
  5. …I just noticed this link doesn’t work on my iPad because of the captcha – this is the same content: https://github.com/oils-for-unix/oils.vim/blob/main/doc/algo...
  6. ▲ 49
    Three Algorithms for YSH Syntax Highlighting
    story by todsacerdoti · 2025-06-13 · 19 comments