## 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. |
||
|---|---|---|
| .. | ||
| diffs.lua | ||