VIRA-283: Syntax for code highlighting
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- vim
- Domain
- tooling
Research direction
Start by locating gv.vim's syntax-definition entry point and review the supplied viraGVCode region for backtick-delimited code. Test the highlighting in Vim commit messages containing inline backticks, and consider the work done when such code is highlighted without breaking other message syntax.
Written by the indexing model from the issue text.
Description
Hello @junegunn,
https://github.com/n0v1c3/vira/tree/VIRA-282 is the branch currently in process and will only make it to dev or master from there. This is currently an issue just for the syntax.
Bellow I just wrote before looking at your code but there should still be some useful lines in it for you.
The viraGVCode bellow is the example that will capture the code inside the "Message". I am sure I am not the only person that has `` in their messages and GitHub definitely supports it as well. We cannot fall behind there.
syntax region viraGVCode start="`" end="`" contained
UPDATE: Found my own bug to deal with so left only the line that mattered.
- Dominant language
- Vim Script
- Stars
- 1.4k
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from junegunn/gv.vim
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
drevendev/Devostasis#158 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
vetro-protocol/vetro-monorepo#1277 ·
Maintainers usually reply within 1 day
-
Upgrade psalmOpendependencies
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
bug for-agent ready
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
WenyuChiou/agent-board#1812 · 2 comments ·
Maintainers usually reply within 1 day