updated README.md / fixed spelling

This commit is contained in:
2025-10-20 14:56:12 -05:00
parent 2130fa42fe
commit 967e427b33
2 changed files with 18 additions and 9 deletions

View File

@@ -5,17 +5,26 @@ Local file history save and restore for Neovim (requires `nvim-telescope`)
### Global functions ### Global functions
```lua ```lua
-- Remove history for files that no longer exist -- Remove history for files that no longer exist
_G.Nvim_Haven_Clean = M.clean _G.Nvim_Haven_Clean = M.clean
-- Disable nvim-haven -- Disable nvim-haven
_G.Nvim_Haven_Disable = M.disable _G.Nvim_Haven_Disable = M.disable
-- Enable nvim-haven -- Enable nvim-haven
_G.Nvim_Haven_Enable = M.enable _G.Nvim_Haven_Enable = M.enable
-- Display history in telescope -- Display history in telescope
_G.Nvim_Haven_History = M.history _G.Nvim_Haven_History = M.history
```
### Preview navigation keymaps
```lua
map("i", "<c-l>", do_forward_jump)
map("n", "<c-l>", do_forward_jump)
map("i", "<c-h>", do_reverse_jump)
map("n", "<c-h>", do_reverse_jump)
``` ```
### Example ### Example

View File

@@ -539,7 +539,7 @@ M.setup = function(config)
if type(e) ~= "function" then if type(e) ~= "function" then
print_message( print_message(
true, true,
"'exlcusions' contains an entry that is not a function. Skipping all exclusions until this is corrected:" "'exclusions' contains an entry that is not a function. Skipping all exclusions until this is corrected:"
) )
table.print_table(e) table.print_table(e)
break break