Support fenced code blocks via multiple modes
Nobody has claimed this yet.
- Dominant language
- Emacs Lisp
- Stars
- 338
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
In https://github.com/LnL7/vim-nix/pull/28, there is support for highlighting code within nix lines, using inline comments before the opening '', like
{
foo = /* sh */ ''
mkdir -p $out/share
'';
}
I would love to have this. The two should be compatible, as @LnL7 mentions in https://github.com/LnL7/vim-nix/pull/28#issuecomment-647683536, so we should coördinate.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading PR #28 and its linked comment, then inspect the existing syntax-highlighting entry points in nix-mode. Confirm how inline-comment modes and fenced code blocks should coexist, and coordinate the behavior so both forms remain compatible; done means both examples highlight correctly without regressing existing modes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- emacs-lisp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100