You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nvim-libmodal/examples/lua
Iron-E 485b77bf14
fix(mode): incompatible with vim.v.count (#26)
* fix(mode): incompatible with vim.v.count

* ref(Vars): track local copy of global value

* ref(Mode): use new `Vars`

* ref(Mode): handle exit during `enter`

* ref: swap `Var.new` param order

Mode name should come before var name

* docs(examples): Vars

* ref: rename `Vars` -> `Var`

* fix(Mode): check if `exit == 1` for vim compat

* fix(Prompt): use new `Var` impl

* ref: remove `count1`

It seems like `math.max` is enough for this purpose

* doc: use h3 headers
3 months ago
..
keymaps-manually.lua perf: general improvements 1 year ago
keymaps-submode.lua style(examples): inline keymaps-submode instruction 1 year ago
keymaps-supress-exit.lua fix(mode): incompatible with vim.v.count (#26) 3 months ago
keymaps.lua fix(mode): incompatible with vim.v.count (#26) 3 months ago
layer-simple.lua docs: make comments conform in case 2 years ago
layer.lua test(layer): can be used multiple times 1 year ago
prompt-callback.lua fix(examples): unset `fooModeExit` before first run 1 year ago
prompt-commands.lua fix(examples): unset `fooModeExit` before first run 1 year ago
submodes.lua docs: make comments conform in case 2 years ago
supress-exit.lua docs: make comments conform in case 2 years ago
vars.lua fix(mode): incompatible with vim.v.count (#26) 3 months ago