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
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.
4 years ago
Iron-E
0f9b51cb0c
Merge pull request #9 from maisiliym/maisiliym/main
...
docs: fix error
4 years ago
Iron-E
045d2ef6a8
docs(libmodal-lua): add separator for Mode
...
The previous commit didn't catch everything.
4 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.
4 years ago
li
e031250f12
fix docs error
4 years ago
Iron-E
932eb5cd78
ref(Popup): set Popup.window to nil after :close()
...
Before this commit, Popup.window would only be set to `nil` if there was
a valid window found. It is proposed that `nil` shuold be set especially
if there is no valid window found, as an invalid window value shouldn't
be kept around.
4 years ago
Iron-E
97f0ac7922
Document changes
4 years ago
Iron-E
d4e25db4c3
Address Popup errors when switching tabs
4 years ago
Iron-E
d00feb0ad3
Fix bug where empty string causes empty libmodal name
4 years ago
Iron-E
c9dd739eb0
Don't use buffer variable
4 years ago
Iron-E
636c8bfe75
Update documentation
4 years ago
Iron-E
f335c7c142
Statusline support
4 years ago
Iron-E
dee1f0f895
Add mroe helpful links to README
4 years ago
Iron-E
f45afa796e
Fix broken reference in docs
4 years ago
Iron-E
ac97661680
Merge pull request #7 from Iron-E/feature/lua-function-instructions
...
Feature/lua function instructions
4 years ago
Iron-E
d35778cf91
Add more tests
4 years ago