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
2024-03-12 16:04:16 +00:00
..
keymaps-manually.lua perf: general improvements 2023-03-12 19:26:38 -04:00
keymaps-submode.lua style(examples): inline keymaps-submode instruction 2023-02-20 14:47:18 -05:00
keymaps-supress-exit.lua fix(mode): incompatible with vim.v.count (#26) 2024-03-12 16:04:16 +00:00
keymaps.lua fix(mode): incompatible with vim.v.count (#26) 2024-03-12 16:04:16 +00:00
layer-simple.lua docs: make comments conform in case 2022-04-26 11:33:37 -04:00
layer.lua test(layer): can be used multiple times 2023-03-17 15:10:35 -04:00
prompt-callback.lua fix(examples): unset fooModeExit before first run 2023-03-12 21:21:44 -04:00
prompt-commands.lua fix(examples): unset fooModeExit before first run 2023-03-12 21:21:44 -04:00
submodes.lua docs: make comments conform in case 2022-04-26 11:33:37 -04:00
supress-exit.lua docs: make comments conform in case 2022-04-26 11:33:37 -04:00
vars.lua fix(mode): incompatible with vim.v.count (#26) 2024-03-12 16:04:16 +00:00