lining up function parameter lists with vim

前端 未结 4 1627
迷失自我
迷失自我 2021-01-04 07:30

When defining or calling functions with enough arguments to span multiple lines, I want vim to line them up. For example,

def myfunction(arg1, arg2, arg, ...         


        
4条回答
  •  生来不讨喜
    2021-01-04 07:53

    Try the Align http://www.vim.org/scripts/script.php?script_id=294 and AutoAlign http://www.vim.org/scripts/script.php?script_id=884 scripts.

提交回复
热议问题