How to make Ruff analyze while I type?

Ruff only analyze when I exit edit mode. How can I make it work real time like in vs code?

My config

require("mason").setup()
require("mason-lspconfig").setup {
    ensure_installed = { "ruff" },
}
require('lspconfig').ruff.setup({})

Check :h vim.diagnostic.Opts (search for update_in_insert). See Neovim how to keep the diagnostic message in insert mode? - Vi and Vim Stack Exchange. However, I don’t know if there is a way to do it for only some languages and not others…

1 Like

Also because I see you made an account yesterday, please note: