aboutsummaryrefslogtreecommitdiff
path: root/doc/shebang_change_filetype.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/shebang_change_filetype.txt')
-rw-r--r--doc/shebang_change_filetype.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/shebang_change_filetype.txt b/doc/shebang_change_filetype.txt
new file mode 100644
index 0000000..0d84d95
--- /dev/null
+++ b/doc/shebang_change_filetype.txt
@@ -0,0 +1,22 @@
+*shebang_change_filetype.txt* For Vim version 7.0 Last change: 2019 May 20
+
+DESCRIPTION *shebang_change_filetype*
+
+This plugin watches the first line of a buffer for the presence of a
+"shebang", beginning with the characters "#!". If such a line is added or
+modified, filetype detection is re-run.
+
+REQUIREMENTS *shebang_change_filetype-requirements*
+
+This plugin only loads if 'compatible' is not set, and requires the |+autocmd|
+feature. It works best if the |TextChanged| event is also available.
+
+AUTHOR *shebang_change_filetype-author*
+
+Written and maintained by Tom Ryder <tom@sanctum.geek.nz>.
+
+LICENSE *shebang_change_filetype-license*
+
+Licensed for distribution under the same terms as Vim itself (see |license|).
+
+ vim:tw=78:ts=8:ft=help:norl: