mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-05 06:30:28 +09:00
Changing behavior for TryBindKey() for lua to not write to bindings.json
This commit is contained in:
@@ -174,11 +174,10 @@ The packages and their contents are listed below (in Go type signatures):
|
||||
values afterwards
|
||||
- `NoComplete`: no autocompletion suggestions
|
||||
|
||||
- `TryBindKey(k, v string, overwrite bool) (bool, error)`: bind the key
|
||||
`k` to the string `v` in the `bindings.json` file. If `overwrite` is
|
||||
true, this will overwrite any existing binding to key `k`. Returns true
|
||||
if the binding was made, and a possible error (for example writing to
|
||||
`bindings.json` can cause an error).
|
||||
- `TryBindKey(k, v string, overwrite bool) (bool, error)`:
|
||||
bind the key `k` to the string `v`. If `overwrite` is true, this will
|
||||
overwrite any existing binding to key `k`.
|
||||
Returns true if the binding was made, and a possible error.
|
||||
|
||||
- `Reload()`: reload configuration files.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user