Рассмотрите возможность написания комментария в стиле JavaDoc, который включает список с отступом (когда установлено expandtab
и softtabstop=2
):
/**
* First line:
* - Indented text
*/
В настоящее время после ввода First line:
и нажатия return Vim правильно вставит *<space>
. Однако, когда я нажму tab, чтобы сделать отступ во второй строке, будет вставлен только один пробел вместо двух.
Можно ли это исправить, чтобы пробел после *
при расчете отступа игнорировался?