code block syntax highlighting changes when reloading buffer
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- vim
- Domain
- tooling
Research direction
Reproduce the reported behavior in vim-journal using a buffer containing the shown SQL code block, then open another buffer and return to it. Trace the code-block syntax-highlighting entry point and compare initial loading with buffer reloading; done means the highlighting remains correct after switching buffers.
Written by the indexing model from the issue text.
Description
Hi there, great plugin. I'm trying to add some code blocks to my notes, e.g.
--sql
SELECT *
FROM mytable
--
It works fine when I first type it out or when I initially load the file. However, when I open another buffer the highlighting disappears and changes to one solid color. Any idea what's going on?
- Dominant language
- Vim Script
- Stars
- 261
- Forks
- 8
- 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.
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