LSP: make the hover window nomodifiable

This commit is contained in:
Cédric Barreteau
2020-07-17 20:51:51 +02:00
parent 409a1dcdc6
commit 8bb2c3087a

View File

@@ -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