From 1d41f15cc6467ff3d73695e902e61bc3128cd9e8 Mon Sep 17 00:00:00 2001 From: aileot Date: Sat, 6 Apr 2024 15:42:04 +0900 Subject: [PATCH] docs: update module name in examples --- README.md | 2 +- REFERENCE.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0c110869..3a20d327 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/REFERENCE.md b/REFERENCE.md index e6e9c832..4da72462 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -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} ,...)) @@ -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} ...))