Vim9 script implementation of the indent script
Brought to you by:
krischik
Originally created by: dkearns
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?
Originally posted by: krischik
I recently learned that NeoVim has support for Language Server Protocol which is an advantage for Ada (using Ada Language Server). So dropping NeoVim might not be an option. Mind you the Alire version of GNAT comes without
gnatprove
so ALS probably only works for Gnat-Pro users.Originally posted by: TamaMcGlinn
No, ALS doesn't need gnatprove. And gnatprove is also available in community GNAT.
Originally posted by: krischik
But the community GNAT has been deprecated in favour of Alire. Understandable as Alire is very easy to install and use. But no gnatprove and no gnatpp:
which is a bit of a bummer.
Originally posted by: TamaMcGlinn
but you are assuming the omission was on purpose? It seems like a mistake to me, my understanding was that the alire crate was meant to just copy all of a normal GNAT installation; shall we see if they accept a PR to add them back in?
Originally posted by: krischik
Didn't assume anything. Just observed. Speaking of observing: Just noticed right after hitting send that
alr gnatprove
does something. Maybe only the executable is missing but the functionality is still somewhere.