forked from trinitrix/core
1
0
Fork 0

fix(config/lua): Generate the 'keymappings' table under 'std'

This commit is contained in:
Benedikt Peetz 2023-10-18 23:03:16 +02:00
parent b54f8e59e8
commit 0ed99b6244
Signed by: bpeetz
GPG Key ID: A5E94010C3A642AD
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
-- create the required tables under `std`
trinitrix.std = {keymaps = {}};
--- Add a new keymap. This is just a convenience function which registers the function
-- and at the same time deals with the fact that the whole trinitrix api is async.
--- and at the same time deals with the fact that the whole trinitrix api is async.
---@param mode string
---@param key string
---@param callback function