aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/vim.vim
blob: d4e55acef9a37bd0c094ff3e665ac2cbffc55bc6 (plain)
1
2
3
4
5
6
" Run `vint` over buffer
" /dev/stdin is not optimal here; it's widely implemented, but not POSIX.
" `vint` does not seem to have another way to parse standard input.
nnoremap <buffer> <silent>
      \ <LocalLeader>l
      \ :<C-U>write !vint -s /dev/stdin<CR>