diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-05 23:51:38 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-05 23:51:38 +1200 |
commit | 6bd60a86bff010587d92ad01a3c4b8693e32ff49 (patch) | |
tree | f81ea160487e2b291f3a7cd4ebf2e88d16b52c12 | |
parent | Merge branch 'release/v0.2.0' (diff) | |
download | vim-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.vim | 2 |
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 |