liuchengxu / space-vim

:four_leaf_clover: Lean & mean spacemacs-ish Vim distribution
https://liuchengxu.github.io/space-vim/
MIT License
2.85k stars 255 forks source link

How to make <Leader>jF which is formating the json buffer work? #478

Closed c02y closed 3 years ago

c02y commented 3 years ago

https://github.com/liuchengxu/space-vim/blob/542faa209b704071ec9c5c37ceece5241689e48b/core/autoload/spacevim/map/leader.vim#L120

<Leader>jF prints Vim(call):E116: Invalid arguments for function feedkeys and doesn't work, :%!python -m json.tool works fine which formats the json buffer.