Skip to content

Commit 39bb4cd

Browse files
yonasFabijanZulj
authored andcommitted
Fix install instructions in README.md
Add `lazy = false` Add `require('blame').setup {}`
1 parent 9c74653 commit 39bb4cd

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

README.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,29 @@ _Same commits are highlighted in the same color_
1515
## Installation
1616

1717
```lua
18-
{
19-
'FabijanZulj/blame.nvim',
18+
return {
19+
{
20+
"FabijanZulj/blame.nvim",
21+
lazy = false,
22+
config = function()
23+
require('blame').setup {}
24+
end,
25+
},
2026
}
2127
```
2228

2329
### Activating additional blame options
2430
```lua
25-
{
26-
'FabijanZulj/blame.nvim',
27-
opts = {
28-
blame_options = { '-w' },
31+
return {
32+
{
33+
"FabijanZulj/blame.nvim",
34+
lazy = false,
35+
config = function()
36+
require('blame').setup {}
37+
end,
38+
opts = {
39+
blame_options = { '-w' },
40+
},
2941
},
3042
}
3143
```

0 commit comments

Comments
 (0)