diff options
Diffstat (limited to 'vim/autoload/shebang.vim')
-rw-r--r-- | vim/autoload/shebang.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vim/autoload/shebang.vim b/vim/autoload/shebang.vim new file mode 100644 index 00000000..f39fcf48 --- /dev/null +++ b/vim/autoload/shebang.vim @@ -0,0 +1,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 |