jashkenas / jashkenas/coffee-script-tmbundle

Keywords are not highlighted when used together with default arguments

Open
#103 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
826
Forks
232
PR merge metrics
No merged PRs in 30d

Description

`foo = (bar = false) ->`

"false" is not highlighted in the above example.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported snippet in the CoffeeScript TextMate bundle and inspect the grammar rules responsible for keywords in default arguments. Confirm the current highlighting, then update the relevant rule so `false` is highlighted and verify the original example behaves as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
coffeescript
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.