Translating the indent script to Vim9 script appears to give an at least three fold improvement in performance. Given that indenting is generally slow this is an appreciable improvement when reindenting large files.
Neovim doesn't currently support Vim9 script. There is some work progressing in this area but it's still unclear whether it will eventually be merged. So both the legacy and Vim9 versions would need to be included to support both editors.
Would you be interested in including a Vim9 script version either as a replacement for or alongside the current legacy script version?
Translating the indent script to Vim9 script appears to give an at least three fold improvement in performance. Given that indenting is generally slow this is an appreciable improvement when reindenting large files.
Neovim doesn't currently support Vim9 script. There is some work progressing in this area but it's still unclear whether it will eventually be merged. So both the legacy and Vim9 versions would need to be included to support both editors.
Would you be interested in including a Vim9 script version either as a replacement for or alongside the current legacy script version?