From 107603af0aba4f42662732411a2d7238cb082126 Mon Sep 17 00:00:00 2001 From: mrjones2014 <8648891+mrjones2014@users.noreply.github.com> Date: Fri, 5 Apr 2024 16:09:17 +0000 Subject: [PATCH 1/5] flake: update dependencies --- flake.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index d0cd471..33fdb4a 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1711523803, - "narHash": "sha256-UKcYiHWHQynzj6CN/vTcix4yd1eCu1uFdsuarupdCQQ=", + "lastModified": 1712163089, + "narHash": "sha256-Um+8kTIrC19vD4/lUCN9/cU9kcOsD1O1m+axJqQPyMM=", "owner": "nixos", "repo": "nixpkgs", - "rev": "2726f127c15a4cc9810843b96cad73c7eb39e443", + "rev": "fd281bd6b7d3e32ddfa399853946f782553163b5", "type": "github" }, "original": { From f127911167c87862c396f7b54951d0069fc89695 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <> Date: Thu, 11 Apr 2024 12:20:29 +0000 Subject: [PATCH 2/5] chore: generated vimdoc --- doc/smart-splits.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/smart-splits.txt b/doc/smart-splits.txt index a860121..c6a6f4d 100644 --- a/doc/smart-splits.txt +++ b/doc/smart-splits.txt @@ -6,6 +6,7 @@ Table of Contents *smart-splits-table-of-contents* Install ............................................... |smart-splits-install| Configuration ................................... |smart-splits-configuration| Hooks ................................................... |smart-splits-hooks| +Examples ............................................. |smart-splits-examples| Usage ................................................... |smart-splits-usage| Key Mappings ..................................... |smart-splits-key-mappings| Lua API ............................................... |smart-splits-lua-api| @@ -13,6 +14,7 @@ Multiplexer Integrations ............. |smart-splits-multiplexer-integrations| Tmux ..................................................... |smart-splits-tmux| Wezterm ............................................... |smart-splits-wezterm| Kitty ................................................... |smart-splits-kitty| +Credits ............................................... |smart-splits-credits| Multiplexer Lua API ....................... |smart-splits-multiplexer-lua-api| ============================================================================== @@ -178,10 +180,8 @@ The hook table allows you to define callbacks for the `on_enter` and `on_leave` events of the resize mode. -============================================================================== EXAMPLES *smart-splits-examples* - Integration with bufresize.nvim : @@ -541,10 +541,8 @@ Or, by adding the following to `~/.config/kitty/kitty.conf`: listen_on unix:/tmp/mykitty < -============================================================================== CREDITS *smart-splits-credits* - Thanks @knubie for inspiration for the Kitty implementation from vim-kitty-navigator . From dec3e81a73226b7722d4623c73b164e84c074db4 Mon Sep 17 00:00:00 2001 From: Mat Jones Date: Thu, 11 Apr 2024 08:50:56 -0400 Subject: [PATCH 3/5] 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 From 57b2711443a2ce68f091be62fda58d7bbe2d8f58 Mon Sep 17 00:00:00 2001 From: mrjones2014 <8648891+mrjones2014@users.noreply.github.com> Date: Fri, 12 Apr 2024 16:08:13 +0000 Subject: [PATCH 4/5] flake: update dependencies --- flake.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 33fdb4a..9f8de0a 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1712163089, - "narHash": "sha256-Um+8kTIrC19vD4/lUCN9/cU9kcOsD1O1m+axJqQPyMM=", + "lastModified": 1712791164, + "narHash": "sha256-3sbWO1mbpWsLepZGbWaMovSO7ndZeFqDSdX0hZ9nVyw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "fd281bd6b7d3e32ddfa399853946f782553163b5", + "rev": "1042fd8b148a9105f3c0aca3a6177fd1d9360ba5", "type": "github" }, "original": { From 0c82f20024c6d20e21b06c35a5001d140a45a66e Mon Sep 17 00:00:00 2001 From: mrjones2014 <8648891+mrjones2014@users.noreply.github.com> Date: Fri, 19 Apr 2024 16:09:07 +0000 Subject: [PATCH 5/5] flake: update dependencies --- flake.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 9f8de0a..5a6fdea 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1712791164, - "narHash": "sha256-3sbWO1mbpWsLepZGbWaMovSO7ndZeFqDSdX0hZ9nVyw=", + "lastModified": 1713297878, + "narHash": "sha256-hOkzkhLT59wR8VaMbh1ESjtZLbGi+XNaBN6h49SPqEc=", "owner": "nixos", "repo": "nixpkgs", - "rev": "1042fd8b148a9105f3c0aca3a6177fd1d9360ba5", + "rev": "66adc1e47f8784803f2deb6cacd5e07264ec2d5c", "type": "github" }, "original": {