irongit
Explore
Docs
Sign in
Register
huncholane
/
leetcode.nvim
Public
A Neovim plugin enabling you to solve LeetCode problems.
Code
Commits
Branches
Tags
fix: menu duplication on launch (#141)
kawre
authored
1 year ago
parent
98a398c
commit 6a2e54ff13027fb3ce46b61a0e721eccc020ec80
Browse files
1 file changed,
+3
-1
+3
-1
lua/leetcode-ui/renderer/menu.lua
@@ -146,7 +146,9 @@ function Menu:apply_options()
146
146
spell = false,
147
147
signcolumn = "no",
148
148
})
149
- ui_utils.win_set_winfixbuf(self.winid)
149
+ vim.schedule(function()
150
+ ui_utils.win_set_winfixbuf(self.winid)
151
+ end)
150
152
end
151
153
152
154
function Menu:unmount()