From f4b8e325dd9984118f5685b63c26d1b11f6964a8 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sun, 1 Feb 2026 19:43:30 -0500 Subject: [PATCH 1/2] feat(doc): more readme stuff --- README.md | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 61bda38..4df488c 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,8 @@ # fugitive-ts.nvim -**Treesitter syntax highlighting for vim-fugitive diff views** +Treesitter syntax highlighting for vim-fugitive. -Transform fugitive's regex-based diff highlighting into language-aware, -treesitter-powered syntax highlighting. +https://github.com/user-attachments/assets/placeholder ## Features @@ -34,30 +33,6 @@ Using [lazy.nvim](https://github.com/folke/lazy.nvim): } ``` -## Configuration - -```lua -require('fugitive-ts').setup({ - enabled = true, - debug = false, - languages = {}, - disabled_languages = {}, - highlight_headers = true, - debounce_ms = 50, - max_lines_per_hunk = 500, -}) -``` - -| Option | Default | Description | -| -------------------- | ------- | --------------------------------------------- | -| `enabled` | `true` | Enable/disable highlighting | -| `debug` | `false` | Log debug messages to `:messages` | -| `languages` | `{}` | Custom filename → language mappings | -| `disabled_languages` | `{}` | Languages to skip (e.g., `{"markdown"}`) | -| `highlight_headers` | `true` | Highlight context in `@@ ... @@` hunk headers | -| `debounce_ms` | `50` | Debounce delay for re-highlighting | -| `max_lines_per_hunk` | `500` | Skip treesitter for large hunks | - ## Documentation ```vim From 2e697859297a22abe9663b4cce22f6a9898f90aa Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sun, 1 Feb 2026 19:51:16 -0500 Subject: [PATCH 2/2] feat(doc): image preview --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4df488c..9366227 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Treesitter syntax highlighting for vim-fugitive. -https://github.com/user-attachments/assets/placeholder +https://github.com/user-attachments/assets/90463492-76e4-44c2-a095-057a087c3a36 ## Features