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
bf7d0c2073
docs: update to add `is_active`
2 years ago
Iron-E
5c66d7622a
ref(Layer): `utils.notify_error` for unmapping errors
2 years ago
Iron-E
f61d56f221
fix(utils): don't shadow builtin `error`
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
70c3585da3
docs(libmodal): add missing `@class` annotations
...
This should help the LSP reason about what is being imported
2 years ago
Iron-E
a81c06464b
ref(libmodal): make api func names more obvious
2 years ago
Iron-E
cf1bca1f8f
ref(libmodal): use `vim.notify` for errors
...
This allows for integration with `nvim-notify` and others.
2 years ago
Iron-E
55a0bcca00
docs: make comments conform in case
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
822614e7e8
docs(README): make less wordy
2 years ago
Iron-E
cbf7358c27
docs: indicate Neovim 0.7 requirement
2 years ago
Iron-E
0af6b6d168
chore(libmodal): remove checks for nvim 0.5
...
Since the plugin now requires Neovim 0.7, there's no reason to check
for Neovim 0.7
2 years ago
Iron-E
dfcc57dd49
chore(Prompt): remove unused function
3 years ago
Iron-E
1933c1d6dc
perf: use `vim.ui` instead of `vim.fn`
3 years ago
Iron-E
7d1d39f915
Merge branch 'feature/001--lua-runtime'
3 years ago
Iron-E
58fcc4f532
docs(README): update line highlight range
3 years ago
Iron-E
3ed176b75c
docs(README): update link to feline config
3 years ago
Iron-E
75c0f06477
docs(README): add `feline.nvim` config
3 years ago
Iron-E
73d0e234be
docs(README): update link to feline config
3 years ago
Iron-E
9e8005a4fe
docs(README): add `feline.nvim` config
3 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
06648c277b
perf(plugin): simplify lua
3 years ago
Iron-E
3aff4c7108
chore(autoload): remove unused function
3 years ago
Iron-E
e3cf6d4c3e
perf(plugin): use lua for plugin initialization
...
SEE #10
3 years ago
Iron-E
3b85822b91
docs(help): prompt.enter {supressExit} parameter
4 years ago
Iron-E
a389bc6d4e
feat(Prompt): allow exit supression
...
Previously, we could set a `:h libmodal-exit-supression` flag in order
to stop the modes from automatically exiting upon an <Esc> press. This
commit adds this functionality to `Prompt`s so that the same may be done
for them.
4 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.
4 years ago