2009-02-16 11 views

Respuesta

7

De la ayuda:

 
={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|. But when 
       'indentexpr' is not empty, it will be used instead 
       |indent-expression|. 

Parece que configurar la opción equalprg es lo que desea.

+0

Agregue algo como esto a su '.vimrc':' au FileType sql set equalprg = pg_format' – bonh

3

Puede configurar el equalprg -opción. (ver: he = por más).

Cuestiones relacionadas