Commit Graph
1 Commits
Author SHA1 Message Date
1grzyb1 ef4174295f VIM-4365 Move AIR support into an optional ideavim-air module
The AIR prompt was recognised and handled in several places of the core
by AIR's internal key names and action ids. Everything AIR-specific now
lives in the ideavim-air module, which only loads with the AIR plugin and
implements the new ChatInputProvider extension point. The core asks the
provider whether an editor is a chat prompt, whether the chat owns a key,
and which action breaks a line.

The line-break action is now also used by processEnter, so <C-J>, <C-M>
and mappings ending in <CR> break the line in the AIR prompt. Before,
they ran the platform's Enter action, which AIR turns into a no-op there.
2026-11-02 11:29:02 +01:00