git status integration #20
Labels
No labels
autorelease: pending
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream/digest
upstream/pr
wontfix
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
barrettruth/canola.nvim#20
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Built-in git status integration for canola, replacing the need for external plugins like oil-git-status.nvim and oil-git.nvim.
Consolidates upstream requests:
highlight_filename(motivated by git status)Requirements
git statuscompletesDesign Constraints
stevearc explicitly declined to build this into oil due to performance concerns on large repos —
git statuscan take 10-20s. He endorsed the extmark/sign approach used byoil-git-status.nvimas the right architecture: render the buffer first, then overlay git status asynchronously via extmarks.Key decisions:
parser.parse_lineOilReadPost, directory change, andFocusGainedPrior Art
consider oil-git.nvim
also, consider showing git files integrated by default - imagine
vim.g.canola.git.untracked...
Moved to canola-collection scope. Git status display belongs in
canola-git, not core.