Iron-E
e535c17e84
ref(Layer): future-proof pruning of `nvim_get_keymap` dict
2 years ago
Iron-E
43073dbd7e
fix(Layer): `unmap` after `enter`
2 years ago
Iron-E
a7dbc7b76e
fix(Layer): `unmap` before `enter`ing layer
...
It didn't work before because the layer would still apply the "unmapped"
LHS when entering.
2 years ago
Iron-E
72f45f9187
fix(Layer): checks for if layer is active
...
The `existing_keymaps_by_mode` table is _always_ initialized, so that
was a red herring.
2 years ago
Iron-E
ba75e9b4d3
ref: make workspace diagnostics more accurate
2 years ago
Iron-E
0eb4afcc5b
ref: workspace diagnostics
2 years ago
spike
c5807eba0d
fix error: invalid key lhsraw when restoring maps
2 years ago
Iron-E
d02697c6dc
fix(Layer): typo
2 years ago
Iron-E
4a31e56e63
ref(Layer): move `replace_termcodes` to `utils.api`
...
It is a utility function for an API function, so it belongs here.
2 years ago
Iron-E
6909e1a2cd
fix(Layer): mis-scheduling
2 years ago
Iron-E
a696aecf1c
fix(Layer): nvim failing to set keymap
2 years ago
Iron-E
0786a9fa45
ref(Layer): prefer `rhs` to `callback`
2 years ago
Iron-E
a898124d3b
fix(Layer): standardize `lhs` before un/map
2 years ago
Iron-E
5c66d7622a
ref(Layer): `utils.notify_error` for unmapping errors
2 years ago
Iron-E
f8c93ec6d8
feat(Layer): `Layer:is_active`
2 years ago
Iron-E
24115079ed
fix(Layer): `:unmap`ping
2 years ago
Iron-E
21dfc73142
style(Layer): make long line multiple lines
2 years ago
Iron-E
9665b84daf
fix(Layer): `nil` rhs from `{callback = function}`
2 years ago
Iron-E
853a180365
ref(Layer): allow `:unmap` before `:enter`
2 years ago
Iron-E
c0898e6067
docs(Layer): use proper name of field
2 years ago
Iron-E
4b84c1be46
ref(Layer): use `vim.notify` instead of `error`
2 years ago
Iron-E
49246bac2e
fix(Layer): `buffer = 0` in mapping
2 years ago
Iron-E
31a79a8f54
ref(Layer): use `vim.notify`
2 years ago
Iron-E
944eb0c262
fix(Layer): correctly prevent error from printing
2 years ago
Iron-E
84eaaae9ab
chore(Layer): remove unused function
2 years ago
Iron-E
117e31eccd
ref(Layer): use `:map` for `:enter`
...
`:map` can now handle buffer-locals, so we should just use that.
2 years ago
Iron-E
ff804a3e34
fix(Layer): handle mapping to new `mode`
2 years ago
Iron-E
0d009b0fcc
fix(Layer): normalize `buffer = true|false`
2 years ago
Iron-E
4cf98788a0
style(Layer): alphabetize functions
2 years ago
Iron-E
21aee625f3
fix(Layer): un/mapping from buffer
2 years ago
Iron-E
55a0bcca00
docs: make comments conform in case
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
afdfadf365
ref: use Neovim 0.5
...
BREAKING CHANGE: now requires Neovim 0.5
3 years ago
Iron-E
d3e601a520
Replace broken references to utils.api
4 years ago
Iron-E
85214c7487
Remove `name`
4 years ago
Iron-E
5d0a8be10e
Cleanup for release candidate
4 years ago
Iron-E
8a1486d517
Add todo for popup
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
dc16475788
Rework imports
4 years ago
Iron-E
861e3008b1
Refactor `classes`
4 years ago
Iron-E
a02aba6097
Complete docs
4 years ago
Iron-E
c4721119d0
Update documentation
4 years ago
Iron-E
f84b0288e7
Add initial Layer implementation
4 years ago