]> git.phdru.name Git - dotfiles.git/commitdiff
.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 b25ff63f9d891c1088edfe5d6110d9e1c475dea6..f30bb3991f16349fa1028cb9b8e9e83b072a7671 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>