Skip to content

Commit dd0e48f

Browse files
Refactor README for clarity and formatting
Updated the README to improve formatting and remove duplicate configuration section.
1 parent fb401c7 commit dd0e48f

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ A Neovim plugin for performing partial diffs on selected code regions with advan
88

99
## Demo
1010

11+
12+
https://github.com/user-attachments/assets/fcd3acfd-855b-4b54-a988-6bd2371344ba
13+
14+
15+
1116
https://github.com/ryutaro-asada/partial-diff.nvim/assets/58899265/6eaae6a9-2ecb-489e-8d38-c4bd9ff41690
1217

1318
## Installation
@@ -20,7 +25,7 @@ https://github.com/ryutaro-asada/partial-diff.nvim/assets/58899265/6eaae6a9-2ecb
2025
},
2126
```
2227

23-
### configuration
28+
## Configuration
2429

2530
```lua
2631
require('partial-diff').setup({
@@ -105,15 +110,6 @@ Without this, the plugin will fall back to Neovim's built-in diff.
105110
:PartialDiffDelete
106111
```
107112

108-
## Configuration
109-
110-
```lua
111-
require("partial-diff").setup({
112-
debug = false, -- Enable debug logging
113-
log_file_path = vim.fn.stdpath('cache') .. '/partial-diff.log', -- Custom log path
114-
})
115-
```
116-
117113
## Powered By
118114

119115
- [vscode-diff](https://github.com/micnil/vscode-diff) - Advanced character-level diff computation

0 commit comments

Comments
 (0)