feat: use regular floating win instead of nui.input (#191)

This commit is contained in:
yetone
2024-08-24 17:34:41 +08:00
committed by GitHub
parent b8b5a3086e
commit 0e07128b56
4 changed files with 43 additions and 110 deletions

View File

@@ -265,6 +265,7 @@ function M.unlock_buf(bufnr)
end
function M.lock_buf(bufnr)
vim.cmd("stopinsert")
vim.bo[bufnr].modified = false
vim.bo[bufnr].modifiable = false
end