diffs.nvim/plugin
Barrett Ruth 43ae49ee46
fix: gate ft=git attachment on fugitive config toggle
Problem: the `is_fugitive_buffer` guard in the `FileType` callback
checked the buffer name for `fugitive://` without checking whether
the `fugitive` integration was enabled. This meant `ft=git` fugitive
buffers got highlighted even with `fugitive = false`.

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