Skip to content

Commit

Permalink
docs: update module name in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
aileot committed Apr 14, 2024
1 parent df61fe9 commit 1d41f15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ _inspired by the builtin Nvim Lua-Vimscript bridge on metatable and by good old
## Usage

```fennel
(import-macros {: set! : map! : augroup! : au! ...} :nvim-laurel.macros)
(import-macros {: set! : map! : augroup! : au! ...} :laurel.macros)
```

See [REFERENCE.md](./doc/REFERENCE.md) for each macro usage in details.
Expand Down
4 changes: 2 additions & 2 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ Note that quote position depends on where the wrapper macros are defined:

```fennel
;; in foobar.fnl
(import-macros {: map!} :nvim-laurel)
(import-macros {: map!} :laurel)
(macro buf-map! [...]
`(map! &default-opts {:buffer 0} ,...))
Expand All @@ -202,7 +202,7 @@ Note that quote position depends on where the wrapper macros are defined:

```fennel
;; in my/macros.fnl
(local {: map!} (require :nvim-laurel))
(local {: map!} (require :laurel))
(fn buf-map! [...]
(map! `&default-opts {:buffer 0} ...))
Expand Down

0 comments on commit 1d41f15

Please sign in to comment.