mrjones2014/op.nvim

Automatic secret detection in buffers

Closed this issue · 1 comments

We can asynchronously detect secret strings (based on our patterns) in the buffer, and present these as diagnostics (and possibly code actions) to Neovim.

It should produce a warning diagnostic that you might have a secret/token/password in your source code

Note that subsequent requests to the backend for buffer analysis should cancel any pending requests so that we don't produce conflicting diagnostics.