NeoVim plugin for visualising sentence length

Draft
I used AI to generate the code for this plugin, because I'm too lazy to learn Lua Vim bindings.

I am trying to get better at writing. One of the recommendations I’ve read is that varying the length of the sentences makes reading more enjoyable. Naturally I wanted to be to somehow see this when I write. My idea would be to make each sentence a different color, depending on its length. Ideally also show a column representing the sentence lengths next to them.

Since I use NeoVim for all of my writing, a Lua plugin would do just fine. So I made one.

Here is how it looks like, when ran on the source code for this very post:

Screenshot of vim-prose-flow