From 7686143ac29da1ed00655131b2f55d68f992cf32 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 17 Jun 2024 16:29:40 -0500 Subject: [PATCH] feat(nvim): use own statuscolumn in `NeogitDiffView` --- .../dots/.config/nvim/after/ftplugin/NeogitDiffView.lua | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 users/price/dots/.config/nvim/after/ftplugin/NeogitDiffView.lua diff --git a/users/price/dots/.config/nvim/after/ftplugin/NeogitDiffView.lua b/users/price/dots/.config/nvim/after/ftplugin/NeogitDiffView.lua new file mode 100644 index 00000000..ab1de6d2 --- /dev/null +++ b/users/price/dots/.config/nvim/after/ftplugin/NeogitDiffView.lua @@ -0,0 +1,6 @@ +local win_id = vim.api.nvim_get_current_win() +vim.schedule(function() + vim.api.nvim_set_option_value("statuscolumn", [[%!v:lua.StatusCol()]], { + win = win_id, + }) +end)