mgedmin / mgedmin/coverage-highlight.vim

Async run

Open
#26 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Python
Stars
58
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Sometimes it can take a little time to execute this extension. For instance if I automatically triggers the coverage highlighting at buffer opening with `autocmd! BufWritePost,BufEnter *.py HighlightCoverageForAll` it can take more than 1s for the buffer to display.

I understood that since vim 8 or neovim, commands can be ran asynchronously. Could it be possible to run this extension asynchronously?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start from the HighlightCoverageForAll entry point invoked by the BufWritePost and BufEnter autocmds, and trace how it currently performs coverage highlighting. Done should mean the extension can run asynchronously without delaying buffer display when highlighting is triggered at buffer opening.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, vim
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.