aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload/shebang.vim
blob: f39fcf48172f6f8a9abab301cc5deda754b42d3a (plain)
1
2
3
4
5
6
7
" If the first line was changed in the last insert operation, re-run script
" detection
function! shebang#Update() abort
  if line("'[") == 1
    runtime scripts.vim
  endif
endfunction