diffs.nvim/plugin
Barrett Ruth b2fb49d48b
fix: gate ft=git attachment on fugitive config toggle (#163)
## Problem

The `is_fugitive_buffer` guard in the `FileType` callback checked the
buffer name for `fugitive://` without checking whether the `fugitive`
integration was enabled. `ft=git` fugitive buffers got highlighted even
with `fugitive = false` (the default).

## Solution

Check `get_fugitive_config()` before `is_fugitive_buffer()`. When
`fugitive = false` (default), no `ft=git` buffer gets through the guard.
2026-03-06 11:13:53 -05:00
..
diffs.lua fix: gate ft=git attachment on fugitive config toggle (#163) 2026-03-06 11:13:53 -05:00