aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/vim.vim
blob: e81131347f81945ad37c1f951100fc6da1984fac (plain)
1
2
3
4
5
6
7
8
9
10
" 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>

" Unload this filetype plugin
let b:undo_user_ftplugin
      \ = 'silent! nunmap <LocalLeader>l'