From dec3e81a73226b7722d4623c73b164e84c074db4 Mon Sep 17 00:00:00 2001 From: Mat Jones Date: Thu, 11 Apr 2024 08:50:56 -0400 Subject: [PATCH] fix(api): Fix type annotations --- lua/smart-splits/api.lua | 2 +- lua/smart-splits/mux/init.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/smart-splits/api.lua b/lua/smart-splits/api.lua index 9779ebe..696548a 100644 --- a/lua/smart-splits/api.lua +++ b/lua/smart-splits/api.lua @@ -1,6 +1,6 @@ local lazy = require('smart-splits.lazy') local config = lazy.require_on_index('smart-splits.config') --[[@as SmartSplitsConfig]] -local mux = lazy.require_on_exported_call('smart-splits.mux') --[[@as SmartSplitsMultiplexer]] +local mux = lazy.require_on_exported_call('smart-splits.mux') --[[@as SmartSplitsMuxApi]] local utils = require('smart-splits.utils') local mux_utils = require('smart-splits.mux.utils') local types = require('smart-splits.types') diff --git a/lua/smart-splits/mux/init.lua b/lua/smart-splits/mux/init.lua index b2834b7..f1dc12b 100644 --- a/lua/smart-splits/mux/init.lua +++ b/lua/smart-splits/mux/init.lua @@ -38,6 +38,7 @@ local function move_multiplexer_inner(direction, multiplexer) return false end +---@class SmartSplitsMuxApi local M = {} ---Get the currently configured multiplexer