aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/shebang_change_filetype.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/shebang_change_filetype.vim b/plugin/shebang_change_filetype.vim
index a5f1ca7..a27cb70 100644
--- a/plugin/shebang_change_filetype.vim
+++ b/plugin/shebang_change_filetype.vim
@@ -17,6 +17,6 @@ augroup shebang_change_filetype
\ call shebang_change_filetype#()
if exists('##TextChanged')
autocmd TextChanged *
- \ call shebang_change_filetype#()
+ \ doautocmd InsertLeave
endif
augroup END