@pcdesign

Почему vim странно форматирует nginx.conf?

До gg=G

5da823179c59f030528063.png

После набора gg=G, типа отформатировать файл.

5da823399566b001447572.png

.vimrc при этом пустой
  • Вопрос задан
  • 98 просмотров
Пригласить эксперта
Ответы на вопрос 1
vvpoloskin
@vvpoloskin
Инженер связи
:help =
={motion}        Filter {motion} lines through the external program
                         given with the 'equalprg' option.  When the 'equalprg'
                         option is empty (this is the default), use the
                         internal formatting function C-indenting and
                         'lisp'.  But when 'indentexpr' is not empty, it will
                         be used instead indent-expression.  When Vim was
                         compiled without internal formatting then the "indent"
                         program is used as a last resort.
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы