NeoZoom.lua icon indicating copy to clipboard operation
NeoZoom.lua copied to clipboard

Documentation includes internal constants

Open danielo515 opened this issue 3 years ago • 1 comments

Hello, thank you for this plugin, I love the idea!

I blindly copied the docs configuration, trusting that the upper case variables were just available globals, but it seems that they are, in fact, plugin locals. I'm talking about the mapping options ones, for example NOREF_NOERR_TRUNC

danielo515 avatar Jun 07 '22 07:06 danielo515

Oops, that's something I forgot to change. These are just shorthands I used in my config:

local NOREF_NOERR_TRUNC = { noremap = true, silent = true, nowait = true }
local NOREF_NOERR = { noremap = true, silent = true }
local EXPR_NOREF_NOERR_TRUNC = { expr = true, noremap = true, silent = true, nowait = true }

I will update the README.md now!

nyngwang avatar Jun 07 '22 09:06 nyngwang