.vimrc: Fix `SetExecutableBit`: Remove autocmd `FileChangedShell`
authorOleg Broytman <phd@phdru.name>
Thu, 16 May 2019 00:52:06 +0000 (03:52 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 16 May 2019 00:52:06 +0000 (03:52 +0300)
.vimrc

diff --git a/.vimrc b/.vimrc
index b25ff63..f30bb39 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -612,6 +612,7 @@ if executable('chmod')
          echoerr 'Error running chmod: ' . v:shell_error
       endif
       checktime
+      autocmd! FileChangedShell <buffer>
    endfunction
    function! _BufChangedCB()
       autocmd! FileChangedShell <buffer>