Commit Graph

62 Commits (master)

Author SHA1 Message Date
Iron-E cbe88095ab
Feat/35/libmodal mode map fn (#36)
* ref(libmodal): `mode.switch` -> `mode.map.switch`

* feat(libmodal): `mode.map.fn`

* docs(libmodal): `libmodal.mode.map.fn`

* docs(examples): add `fn` example
2 months ago
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
2 months ago
Iron-E 1ecc4add3b
feat: `Mode:exit` (#30)
* fix(Mode): adapt to changes in `timeoutlen`

* feat(libmodal): do `self:exit()` inside callback

* docs: `Mode:exit`

* style: .editorconfig

* docs(libmodal): fix broken example

* feat(Mode): `self:switch`

* docs: `Mode:switch`

* feat(libmodal): `mode.switch`

Wraps `Mode:switch` for convenience

* docs: `libmodal.mode.switch`

* docs(examples): `*.switch`
2 months ago
Iron-E 64b7f42670
docs(libmodal): update event listings 1 year ago
Iron-E c6002ebda9
docs: update 1 year ago
Iron-E bf7d0c2073
docs: update to add `is_active` 2 years ago
Iron-E fe1596e7bc
docs: new public functions 2 years ago
Iron-E 49a02ad692
merge!: cleanup the plugin
This was my first plugin. Looking back on it, it was full of bad
design decisions (and I have elected to keep most of the user-facing
ones for backwards-compatability). This merge tries to uncrustify the
plugin by standardizing the documentation, removing much unecessary
code, reorganizing the internal structures, and removing references to
my own made-up terminology.
2 years ago
Iron-E cbf7358c27
docs: indicate Neovim 0.7 requirement 2 years ago
Iron-E b4419002a2
perf: don't make local copies of global `vim` module 3 years ago
Iron-E afdfadf365
ref: use Neovim 0.5
BREAKING CHANGE: now requires Neovim 0.5
3 years ago
Iron-E 3b85822b91
docs(help): prompt.enter {supressExit} parameter 3 years ago
Iron-E afe38ffc20
fix(Popup): don't override open() options
The window options were overriding the passed in options. We shouldn't
do that.
3 years ago
Iron-E 81abfff50c
feat(Popup): allow override of default config
Before we did not allow the default config to be overridden, but now we
do.
3 years ago
Iron-E 045d2ef6a8
docs(libmodal-lua): add separator for Mode
The previous commit didn't catch everything.
3 years ago
Iron-E 8b7533ce84
docs(libmodal-lua): separate vars and functions
The function separators were mistakenly used for both variables _and_ functions previously. Then, we removed the function separators by accident in order to correct it.

This re-established the previous separation by correctly distinguishing variables and functions.
3 years ago
li e031250f12
fix docs error 3 years ago
Iron-E 97f0ac7922
Document changes 4 years ago
Iron-E c9dd739eb0
Don't use buffer variable 4 years ago
Iron-E 636c8bfe75
Update documentation 4 years ago
Iron-E f45afa796e
Fix broken reference in docs 4 years ago
Iron-E 8d99e05af5
Update docs 4 years ago
Iron-E 84797013b4
Begin doc updates; add API exit function 4 years ago
Iron-E 8df9f63b9e
Add version restriction to the docs 4 years ago
Iron-E f6813a55c1
Add more examples 4 years ago
Iron-E 26164953b6
Adjust documentation 4 years ago
Iron-E ec768908e4
Add fixes to changelog 4 years ago
Iron-E 85214c7487
Remove `name` 4 years ago
Iron-E b4eef027f5
Document changes to ParseTable 4 years ago
Iron-E 5d0a8be10e
Cleanup for release candidate 4 years ago
Iron-E d8da47fa71
Optimize module loading, update docs 4 years ago
Iron-E eb6f39b43a
Save implementation of other layers 4 years ago
Iron-E 95d2c02d45
Initial implementation of `ModeLayer` 4 years ago
Iron-E a02aba6097
Complete docs 4 years ago
Iron-E c4721119d0
Update documentation 4 years ago
Iron-E 519e0ad0a6
Start on documentation 4 years ago
Iron-E f84b0288e7
Add initial Layer implementation 4 years ago
Iron-E e3a6b651a1
Fix bad _input assignemtn 4 years ago
Iron-E d5133e2c2f
Add missing `Vars` docs 4 years ago
Iron-E ab45ca248b
Update docs 4 years ago
Iron-E eee6a01778
Consistency improvements 4 years ago
Iron-E d804576419
Update docs 4 years ago
Iron-E e5bf2ec5ac
Begin work on documentation 4 years ago
Iron-E 481ce853ca
Bug fixes 4 years ago
Iron-E 523261dcbc
Initial conversion of prompt 4 years ago
Iron-E f2bc648405
Update docs for new release 4 years ago
Iron-E b7be721f74
Add gist references 4 years ago
Iron-E db764d942e
Add another fix to the list. 4 years ago
Iron-E b2f9be2041
Update docs for 0.4.0 4 years ago
Iron-E 56ed332af9
Update format of docs 4 years ago