Skip to content

Instantly share code, notes, and snippets.

@thiagovsk
Created June 16, 2022 17:37
Show Gist options
  • Save thiagovsk/8fcfb8d80464674f94a3e9edb83aa3a5 to your computer and use it in GitHub Desktop.
Save thiagovsk/8fcfb8d80464674f94a3e9edb83aa3a5 to your computer and use it in GitHub Desktop.
vim.diagnostic.config({
virtual_text = false
})
-- Show line diagnostics automatically in hover window
vim.o.updatetime = 250
vim.cmd [[autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false})]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment