Commit Graph

2 Commits

Author SHA1 Message Date
Troy Brown
31c43cdceb fix(ada): use gpr-specific modes and indent properly
GNAT Project modes (`gpr-mode` and `gpr-ts-mode`) exist to handle .gpr files.
These modes are now used instead of the Ada major mode.

Lines may need to be re-indented when RET is pressed.  This is to handle cases
of incomplete syntax and ambiguity in what may be entered when an empty line is
initially indented.  Re-indenting after text has been entered corrects
incorrectly guessed initial indentation.  To accommodate this scenario, RET is
remapped to `reindent-then-newline-and-indent`.

Also updates documentation to reflect these changes.
2025-09-21 19:45:01 -04:00
Henrik Lissner
286f04c6ef module: add :lang ada 2025-09-13 18:05:52 -04:00