From 0ed99b62441366145957d09e79e35422b2e4ab83 Mon Sep 17 00:00:00 2001 From: Soispha Date: Wed, 18 Oct 2023 23:03:16 +0200 Subject: [PATCH] fix(config/lua): Generate the 'keymappings' table under 'std' --- config/lua/init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/lua/init.lua b/config/lua/init.lua index 7bc9d76..81743c0 100644 --- a/config/lua/init.lua +++ b/config/lua/init.lua @@ -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