mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
LSP: make the hover window nomodifiable
This commit is contained in:
@@ -594,6 +594,7 @@ function M.focusable_float(unique_name, fn)
|
||||
if win then
|
||||
api.nvim_set_current_win(win)
|
||||
api.nvim_command("stopinsert")
|
||||
api.nvim_buf_set_option(0, 'modifiable', false)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user