aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-05 23:51:38 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-05 23:51:38 +1200
commit6bd60a86bff010587d92ad01a3c4b8693e32ff49 (patch)
treef81ea160487e2b291f3a7cd4ebf2e88d16b52c12
parentMerge branch 'release/v0.2.0' (diff)
downloadvim-shebang-change-filetype-6bd60a86bff010587d92ad01a3c4b8693e32ff49.tar.gz
vim-shebang-change-filetype-6bd60a86bff010587d92ad01a3c4b8693e32ff49.zip
Specify autocmd group for TextChanged event
-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 03f5830..b900042 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 *
- \ doautocmd InsertLeave
+ \ doautocmd shebang_change_filetype InsertLeave
endif
augroup END