2009-02-16 23 views

cevap

7

: Bu equalprg seçeneğini ayarlayarak benziyor

 
={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|. 

istediğiniz şeydir.

+0

Bunu bir şeye ekleyin: .vimrc': 'au FileType sql set equalprg = pg_format' – bonh

3

equalprg -option'ı ayarlayabilirsiniz. (bkz: daha fazla =).