Skip to content

Commit 60386a1

Browse files
committed
fix(docs): clarify lazy.nvim loading and add correct setup example
1 parent 3ff8ae2 commit 60386a1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ use({ "attilarepka/header.nvim", config = function() require("header").setup() e
2828
with [lazy.nvim](https://github.com/folke/lazy.nvim)
2929

3030
```lua
31-
{"attilarepka/header.nvim", config = true}
31+
{
32+
"attilarepka/header.nvim",
33+
config = function()
34+
require("header").setup()
35+
end,
36+
},
3237
```
3338

3439
## Setup

lua/header/license.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
local util = require("header.util")
21
local M = {}
32

43
function M.scan_license_files()

0 commit comments

Comments
 (0)